コード例 #1
0
        public void ReadSaveFile_Scenario_Behavior()
        {
            // Arrange
            var reader = new SaveFileReader();

            using var stream = new FileStream(@"E:\ProgramsManual\Factorio\Modding\saves\temp1.zip", FileMode.Open, FileAccess.Read);
            var zipArchive = new ZipArchive(stream, ZipArchiveMode.Read, true, Encoding.UTF8);

            // Act
            var saveFileData = reader.ReadSaveFile(zipArchive);

            // Assert
        }