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