fn memory_eq(cpu: &mut CpuState, expected: Vec<(usize, u32)>) {
        for (ptr, expected) in &expected {
            let got = cpu.fetch_big_endian(*ptr);
            assert!(
                got == *expected,
                "Mismatch on memory at 0x{:x}, expected: 0x{:x}, found: 0x{:x}",
                ptr,
                expected,
                got
            );
        }
    }
/// Checks whether the memory is well laid-out
/// Besides the given tuples of memory, everything else should be just 0s
Checks whether the memory is well laid-out
Besides the given tuples of memory, everything else should be just 0s
Checks whether the memory is well laid - out Besides the given tuples of memory everything else should be just 0s
fn memory_eq(cpu: &mut CpuState, expected: Vec<(usize, u32)>) {
        for (ptr, expected) in &expected {
            let got = cpu.fetch_big_endian(*ptr);
            assert!(
                got == *expected,
                "Mismatch on memory at 0x{:x}, expected: 0x{:x}, found: 0x{:x}",
                ptr,
                expected,
                got
            );
        }
    }
fn memory_eq ( cpu : & mut CpuState , expected : Vec < ( usize , u32 ) > ) { for ( ptr , expected ) in & expected { let got = cpu . fetch_big_endian ( * ptr ) ; assert ! ( got expected " " ptr expected got ) ; } }
Checks whether the memory is well laid-out
Besides the given tuples of memory, everything else should be just 0s
Checks whether the memory is well laid - out Besides the given tuples of memory everything else should be just 0s
cpu
&mut CpuState
expected
Vec<(usize, u32)>