public void IfLeapYear_YearDivisibleByFour_true() { LeapYear newLeapYear = new LeapYear(); Assert.Equal(true, newLeapYear.IfLeapYear(2012)); }
public void IfLeapYear_YearDivisibleByHundred_false() { LeapYear newLeapYear = new LeapYear(); Assert.Equal(false, newLeapYear.IfLeapYear(1900)); }
public void IfLeapYear_YearNotDivisibleByFour_false() { LeapYear newLeapYear = new LeapYear(); Assert.Equal(false, newLeapYear.IfLeapYear(2011)); }