public void CheckCoupon_CurrentDateLaterThanExpiration_ReturnsFalse(string current, string expiration) { //act var result = Kata.CheckCoupon("124", "124", current, expiration); //assert Assert.IsFalse(result); }
public void CheckCoupon_ValidCoupon_ReturnsTrue() { //act var result = Kata.CheckCoupon("124", "124", "July 9, 2015", "July 10, 2015"); //assert Assert.IsTrue(result); }
public void CheckCoupon_NonMatchingCodes_ReturnsFalse(string entered, string correct) { //act var result = Kata.CheckCoupon(entered, correct, "July 9, 2015", "July 9, 2015"); //assert Assert.IsFalse(result); }