public void Bonus10Percent_SmallerThanZero_NotZero() { PaymentBonus paymentBonus = new PaymentBonus(); float result = paymentBonus.Bonus20Percent(-1); Assert.AreNotEqual(1, result); }
public void Bonus20Percent_LargeThan10_ReturnNotTwo() { PaymentBonus paymentBonus = new PaymentBonus(); float result = paymentBonus.Bonus20Percent(20); Assert.AreNotEqual(2, result); }
public void Bonus20Percent_ZeroParameter_NotZero() { PaymentBonus paymentBonus = new PaymentBonus(); float result = paymentBonus.Bonus20Percent(0); Assert.AreNotEqual(1, result); }
public void Bonus20Percent_ValidParameter_ReturnTwo() { PaymentBonus paymentBonus = new PaymentBonus(); float result = paymentBonus.Bonus20Percent(10); Assert.AreEqual(2, result); }