示例#1
0
 public void ShouldReturnException()
 {
     try
     {
         BissextileServices.IsBissextile(0);
     }
     catch (InvalidOperationException)
     {
         Assert.Pass();
     }
     Assert.Fail();
 }
示例#2
0
 public void ShouldReturn_True(int year)
 {
     Assert.That(BissextileServices.IsBissextile(year), Is.True);
 }