Skip to content

Commit

Permalink
Add bool to bigint cast test
Browse files Browse the repository at this point in the history
Signed-off-by: Ben McDonald <[email protected]>
  • Loading branch information
bmcdonald3 committed Jul 11, 2023
1 parent ce621e7 commit e931554
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/library/standard/BigInteger/boolCast.chpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use BigInteger;

var a = true;
writeln(a:bigint);

var b = false;
writeln(b:bigint);
2 changes: 2 additions & 0 deletions test/library/standard/BigInteger/boolCast.good
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1
0

0 comments on commit e931554

Please sign in to comment.