public void AnzacDayIsObservedToMondayFromChangeInLaw() { var actual = NewZealandPublicHoliday.AnzacDay(2015); var expected = new DateTime(2015, 4, 27); Assert.AreEqual(expected, actual); }
public void AnzacDayIsObservedToMonday() { var actual = NewZealandPublicHoliday.AnzacDay(2020); var expected = new DateTime(2020, 4, 27); // Observed to Monday the 27th. Assert.AreEqual(expected, actual); }
public void AnzacDayIsNotObservedToMonday() { var actual = NewZealandPublicHoliday.AnzacDay(2010); var expected = new DateTime(2010, 4, 25); Assert.AreEqual(expected, actual); }