public void NewTechs_WhenGettingTechCostBelow1_Should_ReturnCostOfTechLevel1() { var gameManip = new TechManager(); Assert.AreEqual(gameManip.GetStandardTechCostForLevel(1), gameManip.GetStandardTechCostForLevel(0)); Assert.AreEqual(gameManip.GetStandardTechCostForLevel(1), gameManip.GetStandardTechCostForLevel(-6)); }
public void NewTechs_WhenGettingTechCostAbove33_Should_ReturnCostOfTechLevel33() { var gameManip = new TechManager(); Assert.AreEqual(gameManip.GetStandardTechCostForLevel(33), gameManip.GetStandardTechCostForLevel(34)); Assert.AreEqual(gameManip.GetStandardTechCostForLevel(33), gameManip.GetStandardTechCostForLevel(765765)); }
public void NewTechs_WhenGettingTechCost_Should_ReturnCorrectValue() { var gameManip = new TechManager(); var techLevel7Cost = gameManip.GetStandardTechCostForLevel(7); var techLevel20Cost = gameManip.GetStandardTechCostForLevel(20); var techLevel30Cost = gameManip.GetStandardTechCostForLevel(30); Assert.AreEqual(12000, techLevel7Cost); Assert.AreEqual(15000000, techLevel20Cost); Assert.AreEqual(855000000, techLevel30Cost); }