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