This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
14
unikernel/duniverse/base/test/test_int63_emul.ml
Normal file
14
unikernel/duniverse/base/test/test_int63_emul.ml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
open! Import
|
||||
module Int63_emul = Base.Int63.Private.Emul
|
||||
|
||||
let%expect_test _ =
|
||||
let s63 = Int63.(Hex.to_string min_value) in
|
||||
let s63_emul = Int63_emul.(Hex.to_string min_value) in
|
||||
print_s [%message (s63 : string) (s63_emul : string)];
|
||||
require [%here] (String.equal s63 s63_emul);
|
||||
[%expect
|
||||
{|
|
||||
((s63 -0x4000000000000000)
|
||||
(s63_emul -0x4000000000000000))
|
||||
|}]
|
||||
;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue