public void InvalidLessMonthNumber() { var date = new MyDate(2001, 0, 1); }
public void InvalidLessDayhNumber() { var date = new MyDate(2001, 1, 0); }
public void InvalidLargerMonthNumber() { var date = new MyDate(2001, 13, 1); }
public void InvalidLargerDayNumber() { var date = new MyDate(2001, 1, 33); }
public void CorrectNumberOfRemainingDays() { var date = new MyDate(2001, 1, 1); Assert.AreEqual(30, date.RemainingDaysInMonth(), ""); }
public void CorrectMonthName() { var date = new MyDate(2001, 1, 1); Assert.AreEqual("The name of the month is January.", date.GetMonthName(), ""); }