예제 #1
0
 private IScheduledActivity _getLunch()
 {
     if (_lunch == null)
     {
         _lunch = new ScheduledActivity(
             new Activity("Lunch Break 60min"),
             _scheduleManager.getLunchTime()
             );
     }
     return(_lunch);
 }
예제 #2
0
        public void Test_getLunchTime()
        {
            DateTime actual = _scheduleManager.getLunchTime();

            Assert.AreEqual(actual.Hour, TimeManager.STARTLUNCHHOUR);
        }