Пример #1
0
 public void FoldTerrainByFactor()
 {
     int[,,] world       = WorldScript.GenerateTerrain(8, 8);
     int[,,] foldedWorld = WorldScript.FoldTerrainByFactor(2, world, 8, 8);
     Assert.AreEqual(64, foldedWorld.Length);
 }