diff --git a/Makefile b/Makefile index 40d7f17..68abafa 100644 --- a/Makefile +++ b/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 diff --git a/test/test_cpu.ml b/test/test_bit.ml similarity index 87% rename from test/test_cpu.ml rename to test/test_bit.ml index ea6790b..a934154 100644 --- a/test/test_cpu.ml +++ b/test/test_bit.ml @@ -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 -