public void TestWriteBackTheSameExactFile() => File.OpenRead(FilePath).Using(stream => Helpers.AssertStream(stream, inStream => { var save = SaveFf7Remake.Read(inStream); var outStream = new MemoryStream(); save.Write(outStream); return(outStream); }));
public void ReadSaveTest() => File.OpenRead(FilePath).Using(stream => AssertSaveGame(SaveFf7Remake.Read(stream)));