예제 #1
0
        public void ExploreTile_LootResources_will_be_true()
        {
            ExploreTile w = new ExploreTile(5, 5, new Axe("Axe"), new Resource("Grain"), 9);

            w.LootResources();

            Assert.IsTrue(w.isLooted);
        }
예제 #2
0
 public void ExploreTile_throws_exeption_null_values_second_constructor()
 {
     WorldTile h = new ExploreTile(5, 5, null, 9);
 }
예제 #3
0
        public void ExploreTile_amount_will_be_added()
        {
            ExploreTile w = new ExploreTile(5, 5, new Axe("Axe"), new Resource("Grain"), 9);

            Assert.AreEqual(9, w.resourceAmount);
        }
예제 #4
0
 public void ExploreTile_throws_exeption_null_values()
 {
     WorldTile h = new ExploreTile(5, 5, null, null, 9);
 }