Esempio n. 1
0
 public void WhenCalendarHasTwoNonWorkingDayOfMonthThoseDaysAreNonWorkingDate()
 {
     WorkingDatesCalendar argentineCalendar = new WorkingDatesCalendar();
     argentineCalendar.AddNonWorkingDayOfMonth(someJanuaryFirst());
     argentineCalendar.AddNonWorkingDayOfMonth(someChrismas());
     Assert.IsFalse(argentineCalendar.IsNonWorkingDate(someNotJanuaryFirst()));
 }
Esempio n. 2
0
 public void WhenCalendarHasANonWorkingDayOfMonthThatDayIsNonWorkingDate()
 {
     WorkingDatesCalendar argentineCalendar = new WorkingDatesCalendar();
     argentineCalendar.AddNonWorkingDayOfMonth(someJanuaryFirst());
     Assert.IsTrue(argentineCalendar.IsNonWorkingDate(someJanuaryFirst()));
 }
Esempio n. 3
0
 public void Test6()
 {
     WorkingDatesCalendar argentineCalendar = new WorkingDatesCalendar();
     argentineCalendar.AddNonWorkingDayOfMonth(someJanuaryFirst());
     Assert.IsFalse(argentineCalendar.IsNonWorkingDate(someNotJanuaryFirst()));
 }