public static void CartNameInHeader() { // use the sample data to fake a project var srcProject = LoadSaveTest.BuildSampleProject2(); var expectedTitle = SampleRomData.GetSampleUtf8CartridgeTitle(); TestRomCartTitle(srcProject, expectedTitle); }
public static void TestCartChecksumInHeader() { // use the sample data to fake a project var srcProject = LoadSaveTest.BuildSampleProject2(); srcProject.Data.RomChecksum.Should().Be(srcProject.Data.ComputeChecksum(), "checksum bytes in the ROM should match the computed checksum"); }