Пример #1
0
 public void ChangeDayMode_WhenChangeDayModeSomeTimes_ReturnsTrue()
 {
     zoo.ChangeDayMode();
     zoo.ChangeDayMode();
     zoo.ChangeDayMode(DayMode.Night);
     Assert.Equal(DayMode.Night, zoo.CurrentDayMode);
 }
Пример #2
0
 private void DisplayDayModeChanged()
 {
     currentZoo.ChangeDayMode();
     DisplayComplete("Day mode changed!\nCurrent day mode - " + currentZoo.CurrentDayMode);
 }