Exemplo n.º 1
0
        public void IfLeapYear_YearDivisibleByFour_true()
        {
            LeapYear newLeapYear = new LeapYear();

            Assert.Equal(true, newLeapYear.IfLeapYear(2012));
        }
Exemplo n.º 2
0
        public void IfLeapYear_YearDivisibleByHundred_false()
        {
            LeapYear newLeapYear = new LeapYear();

            Assert.Equal(false, newLeapYear.IfLeapYear(1900));
        }
Exemplo n.º 3
0
        public void IfLeapYear_YearNotDivisibleByFour_false()
        {
            LeapYear newLeapYear = new LeapYear();

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