示例#1
0
 public void CanTestForLeapYear()
 {
     Assert.That(true, Is.EqualTo(LeapYear.IsLeapYear(1996)));
 }
示例#2
0
 public void CanTestForLeapYears(bool expectedResult, int year)
 {
     Assert.That(expectedResult, Is.EqualTo(LeapYear.IsLeapYear(year)));
 }