System.Tests.DateTimeTests.IsLeapYear C# (CSharp) Méthode

IsLeapYear() private méthode

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