예제 #1
0
        public static void CartNameInHeader()
        {
            // use the sample data to fake a project
            var srcProject    = LoadSaveTest.BuildSampleProject2();
            var expectedTitle = SampleRomData.GetSampleUtf8CartridgeTitle();

            TestRomCartTitle(srcProject, expectedTitle);
        }
예제 #2
0
        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");
        }