public void Shsc_Invalid() { Given_Mips_Image(0x00001403); var by = sh.ScanSegment(program.SegmentMap.Segments.Values.First()); Assert.AreEqual(new byte[] { 0 }, TakeEach(by, 4)); }
public void Shsc_Invalid() { Given_Mips_Image(0x00001403); Given_Scanner(); var seg = program.SegmentMap.Segments.Values.First(); var scseg = sh.ScanSegment(seg, 0); Assert.AreEqual(new byte[] { 0 }, TakeEach(scseg.CodeFlags, 4)); }