From de755822d3f24401fee161d6faad4c18aee2ef80 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Sun, 28 Feb 2016 23:25:19 +0100 Subject: [PATCH] Rename test_cpu.ml to test_bit.ml --- Makefile | 2 +- test/{test_cpu.ml => test_bit.ml} | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename test/{test_cpu.ml => test_bit.ml} (87%) 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 -