public void CanAddMultipleDatetime() { HolidayCollection.Clear(); HolidayCollection.Add(new List <DateTime>() { DateTime.Now, DateTime.Now }); Assert.AreEqual(HolidayCollection.Count(), 2); }
public void GetAllHolidays() { HolidayCollection.Clear(); HolidayCollection.Add(new List <DateTime>() { DateTime.Now, DateTime.Now }); var holidayList = HolidayCollection.GetAll(); Assert.AreEqual(HolidayCollection.Count(), holidayList.Count()); }
public void CanAddNewDatetime() { HolidayCollection.Clear(); HolidayCollection.Add(DateTime.Now); Assert.Greater(HolidayCollection.Count(), 0); }
public void ClearAllHolidays() { HolidayCollection.Clear(); Assert.AreEqual(HolidayCollection.Count(), 0); }