public void VoxelCompressionV1() { const string fileOriginal = @".\TestAssets\asteroid0moon4.vox"; const string fileExtracted = @".\TestOutput\asteroid0moon4.vox.bin"; const string fileNew = @".\TestOutput\asteroid0moon4_test.vox"; MyVoxelMap.Uncompress(fileOriginal, fileExtracted); MyVoxelMap.Compress(fileExtracted, fileNew); var lengthOriginal = new FileInfo(fileOriginal).Length; var lengthExtracted = new FileInfo(fileExtracted).Length; var lengthNew = new FileInfo(fileNew).Length; Assert.AreEqual(9428, lengthOriginal, "File size must match."); Assert.AreEqual(310276, lengthExtracted, "File size must match."); Assert.AreEqual(9428, lengthNew, "File size must match."); }