public void TestGameOptionsIfUpgradeCanBeAddedToList() { GameOption GameOption = new GameOption(); Upgrade upg = new Upgrade("random", "ClickDamage", 30); GameOption.Upgrades.Clear(); GameOption.addUpgrade(upg); Upgrade upg1 = GameOption.Upgrades[0]; Assert.AreEqual(upg1, upg); }
public void TestGameOptionsAddUpgradeCanFail() { GameOption GameOptions = new GameOption(); GameOptions.addUpgrade(null); }