public void ShouldWriteTheExactSameFile() => File.OpenRead("kh2/res/trsr.bin").Using(stream => { Helpers.AssertStream(stream, x => { var outStream = new MemoryStream(); Trsr.Write(outStream, Trsr.Read(x)); return(outStream); }); });
public void CheckNewTrsr() => File.OpenRead(@"kh2/res/trsr.bin").Using(stream => { var table = Trsr.Read(stream); Assert.Equal(0x1AE, table.Count); });