コード例 #1
0
 public void IsActuallyLunchtime()
 {
     Assert.AreEqual("Lunchtime!", Webcams.LunchMessage(TimeSpan.FromHours(12.5)));
 }
コード例 #2
0
 public void IsNearlyLunchtime()
 {
     Assert.AreEqual("It's nearly lunchtime!", Webcams.LunchMessage(TimeSpan.FromHours(11.5)));
 }