Esempio n. 1
0
 public void Setup()
 {
     //today = DateTime.Today;
     today             = new DateTime(2018, 10, 29); //Monday 29th of October 2018
     threeWeeksFromNow = DateTime.Today.AddDays(3 * 7 - 1);
     uut = new DinnerDay(DayOfWeek.Monday, today, threeWeeksFromNow);
     uut.AddParticipant("340");
     uut.AddParticipant("341");
 }
Esempio n. 2
0
 public void Participants_Add1GetNumber_Returns3()
 {
     uut.AddParticipant("342");
     Assert.That(() => uut.GetNumberOfParticipants().Equals(3));
 }