public void Test_SwapTile_Under66() { var controlGroup = new GrassTile(1, 1) { Depth = 5 }; TestWorld.AssignTiles(); TestWorld.AssignDepth(); TestWorld.Tiles[1, 1] = new WaterTile(1, 1) { Depth = 5 }; TestWorld.SwapTile(TestWorld.Tiles[1, 1], TestAvgDepth, GrassDepthSeed); Assert.AreEqual(controlGroup.GetGroundType(), TestWorld.Tiles[1, 1].GetGroundType()); }
public void Test_GrassTile() { var testGrassTile = new GrassTile(1, 1); Assert.AreEqual("grass", testGrassTile.GetGroundType()); }