Exemple #1
0
        public void FarmTest(MaterialType type)
        {
            var tile = new Tile(1, 2, 3, type);
            IRawMaterial material = tile.Farm();

            Assert.Equal(type, material.Type);
        }
Exemple #2
0
 public void InvalidFarmTiles(MaterialType type)
 {
     var tile = new Tile(1, 2, 3, type);
     Assert.Throws<InvalidOperationException>(() => tile.Farm());
 }