diff --git a/src/simulator/machine.rs b/src/simulator/machine.rs index 1a00b2c..4873a49 100644 --- a/src/simulator/machine.rs +++ b/src/simulator/machine.rs @@ -729,13 +729,11 @@ mod test { use crate::simulator::{machine::Machine, mem_cmp}; #[test] - #[ignore] fn test_init_machine() { let _ = Machine::init_machine(); } #[test] - #[ignore] fn test_read_memory() { let mut m = Machine::init_machine(); m.main_memory[4] = 43; @@ -772,7 +770,6 @@ mod test { } #[test] - //#[ignore] fn test_div() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memoryDiv.txt").unwrap(); @@ -787,7 +784,6 @@ mod test { } #[test] - //#[ignore] fn test_if() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memoryIf.txt").unwrap(); @@ -802,7 +798,6 @@ mod test { } #[test] - //#[ignore] fn test_jump() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memoryJump.txt").unwrap(); @@ -817,7 +812,6 @@ mod test { } #[test] - //#[ignore] fn test_mul() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memoryMult.txt").unwrap(); @@ -832,7 +826,6 @@ mod test { } #[test] - //#[ignore] fn test_ret() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memoryRet.txt").unwrap(); @@ -847,7 +840,6 @@ mod test { } #[test] - //#[ignore] fn test_sub() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memorySub.txt").unwrap(); @@ -862,7 +854,6 @@ mod test { } #[test] - //#[ignore] fn test_switch() { let mut m = Machine::init_machine(); let memory_before = mem_cmp::MemChecker::from("test/machine/memorySwitch.txt").unwrap(); diff --git a/src/simulator/mem_cmp.rs b/src/simulator/mem_cmp.rs index 083e982..f99b5ee 100644 --- a/src/simulator/mem_cmp.rs +++ b/src/simulator/mem_cmp.rs @@ -209,7 +209,6 @@ mod tests { use super::*; #[test] - #[ignore] fn test_fill_memory(){ let m_c = MemChecker::from("test/machine/memory.txt").unwrap(); let mut machine = Machine::init_machine();