Esempio n. 1
0
 private void checkIfLunchIsRequired(DateTime time)
 {
     if (time.Equals(_scheduleManager.getLunchEndTime()))
     {
         _activites.Add(getLunch());
     }
 }
Esempio n. 2
0
        public void Test_getLunchEndTime()
        {
            DateTime actual = _scheduleManager.getLunchEndTime();

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