This commit is contained in:
Baptiste 2023-03-15 14:04:25 +01:00
parent dcca3d5d9f
commit 84d8bcc84f
2 changed files with 2 additions and 2 deletions

View File

@ -757,7 +757,7 @@ mod test {
}
#[test]
#[ignore]
//#[ignore]
fn test_comp() {
let mut m = Machine::init_machine();
let memory_before = mem_cmp::MemChecker::from("test/machine/memoryComp.txt").unwrap();

View File

@ -170,7 +170,7 @@ impl MemChecker{
for section in m_c.sections.iter() {
for (i,b) in section.content.iter().enumerate() {
machine.main_memory[section.addr + i] = *b;
machine.main_memory[section.addr/8 + i] = *b;
}
}
}