public void CannotAddGiantManaPotion() { PotionPack pp = new PotionPack("Small potion sack", 2, 4); ManaPotion mana = new ManaPotion("GIANT Mana Potion", 10); bool expected = false; bool actual = pp.Add(mana); Assert.AreEqual(expected, actual); }
public void CannotPutCrossbowInPotionPack() { PotionPack pp = new PotionPack("Small potion sack", 2, 4); Crossbow bow = new Crossbow("Crossbow of the Hawk", 2, 10); bool expected = false; bool actual = pp.Add(bow); Assert.AreEqual(expected, actual); }
public void CanAddPotion() { PotionPack pp = new PotionPack("Small potion sack", 2, 4); ManaPotion mana = new ManaPotion("Small Mana Potion", 1); bool expected = true; bool actual = pp.Add(mana); Assert.AreEqual(expected, actual); }