Beispiel #1
0
 public void IsAtypicalLeapYear()
 {
     Assert.True(LeapCalculator.IsLeap(2000));
 }
Beispiel #2
0
 public static void IsTypicalLeapYear()
 {
     Assert.True(LeapCalculator.IsLeap(1996));
 }
Beispiel #3
0
 public void IsAtypicalCommonYear()
 {
     Assert.False(LeapCalculator.IsLeap(1900));
 }
Beispiel #4
0
 public static void IsCommonYear()
 {
     Assert.False(LeapCalculator.IsLeap(2001));
 }