Rename test_cpu.ml to test_bit.ml
This commit is contained in:
parent
27efc19125
commit
de755822d3
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ debug:
|
|||
ocamlbuild -use-ocamlfind -I src oboy.d.byte
|
||||
|
||||
check:
|
||||
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_cpu.byte --
|
||||
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
||||
|
||||
clean:
|
||||
rm -rf _build
|
||||
|
|
|
@ -3,7 +3,7 @@ open OUnit2
|
|||
|
||||
let test_signed test_ctx =
|
||||
let n = 0xFA in
|
||||
let s = Cpu.signed_byte n in
|
||||
let s = Bit.signed_byte n in
|
||||
assert_equal s (-6)
|
||||
|
||||
|
||||
|
@ -16,4 +16,3 @@ let suite =
|
|||
|
||||
let () =
|
||||
run_test_tt_main suite
|
||||
|
Loading…
Reference in a new issue