IsLeapYear() 공개 정적인 메소드

public static IsLeapYear ( int year ) : bool
year int
리턴 bool
예제 #1
0
 public void CanTestForLeapYears(bool expectedResult, int year) => Assert.That(expectedResult, Is.EqualTo(LeapYear.IsLeapYear(year)));
예제 #2
0
 public void CanTestForLeapYear() => Assert.That(true, Is.EqualTo(LeapYear.IsLeapYear(1996)));