Skip to content

Commit c7bd0c4

Browse files
committed
Tests: new test for phys_equal
1 parent 9c103fe commit c7bd0c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compiler/tests-jsoo/test_obj.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,9 @@ let%expect_test "dup" =
7070
true
7171
true
7272
|}]
73+
74+
let%expect_test "sameness" =
75+
print_bool (nan == nan);
76+
[%expect {| false |}];
77+
print_bool (-0. == 0.);
78+
[%expect {| true |}]

0 commit comments

Comments
 (0)