public void AssignBiomesTest1() { Dirtland d = new Dirtland(); Assert.IsNotNull(d); string[,,] biomes = d.AssignBiomes(10, 9, 2); Assert.IsNotNull(biomes); Assert.AreEqual(10, biomes.GetLength(0)); Assert.AreEqual(9, biomes.GetLength(1)); Assert.AreEqual(2, biomes.GetLength(2)); }
public void GenerateLandTypeTest() { Dirtland d = new Dirtland(); Assert.IsNotNull(d); string[,,] biomes = d.AssignBiomes(10, 9, 2); Assert.IsNotNull(biomes); Tile[,,] tiles = d.GenerateLandType(biomes); Assert.IsNotNull(tiles); Assert.AreEqual(10, tiles.GetLength(0)); Assert.AreEqual(9, tiles.GetLength(1)); Assert.AreEqual(2, tiles.GetLength(2)); }
public void AssignBiomesTest() { Dirtland d = new Dirtland(); Assert.IsNotNull(d); }