Пример #1
0
        public void CanCalculateValidChecksum()
        {
            var data = File.ReadAllBytes( "399Bidoof.pkm" );
            var pkm = new PokeSave.Fourth.NdsPkm( data, 0, true, true );

            Assert.AreEqual( pkm.Checksum, pkm.GenerateChecksum().Value );
        }