System.Tests.DateTimeTests.IsLeapYear C# (CSharp) Method

IsLeapYear() private method

private IsLeapYear ( int year, bool expected ) : void
year int
expected bool
return void
        public static void IsLeapYear(int year, bool expected)
        {
            Assert.Equal(expected, DateTime.IsLeapYear(year));
        }
DateTimeTests