public void WorksForTheDayMonthExceptLast() { var result = Week4.FollowingDate("13", "2", "2018"); Assert.AreEqual((14, 2, 2018), result); }
public void WorksForLastDayMonthDecember() { var result = Week4.FollowingDate("31", "12", "2018"); Assert.AreEqual((1, 1, 2019), result); }
public void WorksForTheLastDayMonthExceptDecember() { var result = Week4.FollowingDate("28", "2", "2018"); Assert.AreEqual((1, 3, 2018), result); }
public void FailsWithInvalidDayAccordinMonth() { var result = Week4.FollowingDate("31", "2", "2018"); }
public void FailsWithInvalidDate() { var result = Week4.FollowingDate("32", "12", "2018"); }
public void FailsWithTextValues() { var result = Week4.FollowingDate("pepe", "12", "2018"); }