oups sorry les boys

This commit is contained in:
amaury 2023-03-15 15:48:58 +01:00
parent b011f75e50
commit f6ec9ff60f

View File

@ -210,7 +210,7 @@ mod tests {
#[test] #[test]
fn test_fill_memory(){ fn test_fill_memory(){
let m_c = MemChecker::from("test/machine/memory.txt").unwrap(); let m_c = MemChecker::from("test/machine/memoryAdd.txt").unwrap();
let mut machine = Machine::init_machine(); let mut machine = Machine::init_machine();
MemChecker::fill_memory_from_mem_checker(&m_c, &mut machine); MemChecker::fill_memory_from_mem_checker(&m_c, &mut machine);
MemChecker::compare_print_m_c_machine(&m_c, &mut machine); MemChecker::compare_print_m_c_machine(&m_c, &mut machine);
@ -227,7 +227,7 @@ mod tests {
#[test] #[test]
fn test_create_mem_checker(){ fn test_create_mem_checker(){
let m_c = MemChecker::from("test/machine/memory.txt").unwrap(); let m_c = MemChecker::from("test/machine/memoryAdd.txt").unwrap();
MemChecker::print_mem_checker(&m_c); MemChecker::print_mem_checker(&m_c);
} }