public void Equality_NotEqual() { var day = new CalendarDay(2010, 8, 1); var day2 = new CalendarDay(2020, 8, 1); Assert.IsFalse(day.Equals(day2)); }
public void Equality_SameObject() { var day = new CalendarDay(2010, 8, 1); var secondReference = day; Assert.IsTrue(day.Equals(secondReference)); }
public void Equality_DifferentObject() { var day = new CalendarDay(2010, 8, 1); var day2 = new CalendarDay(2010, 8, 1); Assert.IsTrue(day.Equals(day2)); }