Skip to content

Commit

Permalink
Testing: eq/ne_bits and print_*
Browse files Browse the repository at this point in the history
  • Loading branch information
alastairreid committed Dec 30, 2024
1 parent bf5737d commit d98c415
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions tests/backends/bits_eq_00.asl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ end

func main() => integer
begin
print(FUT(8'x1, 8'x1); println();
print(FUT(8'x1, 8'x1)); println();
// CHECK: TRUE
print(FUT(8'x1, 8'x2); println();
print(FUT(8'x1, 8'x2)); println();
// CHECK: FALSE
print(FUT(8'x2, 8'x1); println();
print(FUT(8'x2, 8'x1)); println();
// CHECK: FALSE
print(FUT(8'x2, 8'x2); println();
print(FUT(8'x2, 8'x2)); println();
// CHECK: TRUE

return 0;
Expand Down
8 changes: 4 additions & 4 deletions tests/backends/bits_ne_00.asl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ end

func main() => integer
begin
print(FUT(8'x1, 8'x1); println();
print(FUT(8'x1, 8'x1)); println();
// CHECK: FALSE
print(FUT(8'x1, 8'x2); println();
print(FUT(8'x1, 8'x2)); println();
// CHECK: TRUE
print(FUT(8'x2, 8'x1); println();
print(FUT(8'x2, 8'x1)); println();
// CHECK: TRUE
print(FUT(8'x2, 8'x2); println();
print(FUT(8'x2, 8'x2)); println();
// CHECK: FALSE

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

func main() => integer
begin
print_string("Hello, world!");
print_str("Hello, world!");
// CHECK: Hello, world!

return 0;
Expand Down

0 comments on commit d98c415

Please sign in to comment.