Skip to content

Commit 10ac4c2

Browse files
committed
Add regression test
1 parent dd156d1 commit 10ac4c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unison-src/transcripts/idempotent/builtins.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ test> Integer.tests.arithmetic =
252252
Integer.eq (Integer.fromInt +1000) (Integer.fromInt +1000),
253253
not (Integer.eq (Integer.fromInt +1000) (Integer.fromInt +999)),
254254
eq (Integer.abs (Integer.fromInt +1000)) (Integer.fromInt +1000),
255-
eq (Integer.abs (Integer.fromInt -1000)) (Integer.fromInt +1000)
255+
eq (Integer.abs (Integer.fromInt -1000)) (Integer.fromInt +1000),
256+
not (Int.eq (Integer.signum (Integer.fromInt +1)) (Integer.signum (Integer.fromInt -1)))
256257
]
257258
258259
test> Integer.tests.bitwise =

0 commit comments

Comments
 (0)