static void Main(string[] args) { string input = ""; Console.WriteLine(requestInput); while ((input = Console.ReadLine()) != null) { Console.WriteLine(LeapYearTest.isLeapYear(int.Parse(input))); Console.WriteLine(requestInput); } }
public void fact1() { Assert.True(LeapYearTest.isLeapYear(2016)); }
public void fact5() { Assert.False(LeapYearTest.isLeapYear(1800)); }
public void fact6() { Assert.True(LeapYearTest.isLeapYear(1816)); }
public void fact2() { Assert.True(LeapYearTest.isLeapYear(2020)); }