Exemplo n.º 1
0
 public void Year_divisible_by_400_is_leap_year()
 {
     Assert.True(Leap.IsLeapYear(2000));
 }
Exemplo n.º 2
0
 public void Year_divisible_by_4_not_divisible_by_100_is_leap_year()
 {
     Assert.True(Leap.IsLeapYear(2016));
 }
Exemplo n.º 3
0
 public void Year_divisible_by_100_not_divisible_by_400_is_common_year()
 {
     Assert.False(Leap.IsLeapYear(2100));
 }
Exemplo n.º 4
0
 public void Year_not_divisible_by_4_is_common_year()
 {
     Assert.False(Leap.IsLeapYear(2015));
 }