public void CalculateMagicCost_NotMatch_Testing1() { //Arrange int expectedResult = 100; //Act Magician magObj = new Magician(new MagicianHelperSample2()); int result = magObj.CalculateMagicCost(3); //Assert Assert.AreNotEqual(result, expectedResult); }
public void CalculateMagicCost_Match_Testing(int pTricks, int expectedCost) { //Arrange //int expectedResult = 100; //Act Magician magObj = new Magician(new MagicHelper()); int result = magObj.CalculateMagicCost(pTricks); //Assert Assert.AreEqual(result, expectedCost); }
public void CalculateMagicCost_Match_Testing1() { //Arrange int expectedResult = 100; //Act Magician magObj = new Magician(); int result = magObj.CalculateMagicCost(4); //Assert Assert.AreEqual(result, expectedResult); }