Sha256: 71bf1b71e312ee4d87b5f512bb445a1512f432688461459097e2a054fbee0f3b
Contents?: true
Size: 736 Bytes
Versions: 28
Compression:
Stored size: 736 Bytes
Contents
// This file was auto-generated based on version 1.3.0 of the canonical data. using Xunit; public class LeapTest { [Fact] public void Year_not_divisible_by_4_is_common_year() { Assert.False(Leap.IsLeapYear(2015)); } [Fact(Skip = "Remove to run test")] public void Year_divisible_by_4_not_divisible_by_100_is_leap_year() { Assert.True(Leap.IsLeapYear(1996)); } [Fact(Skip = "Remove to run test")] public void Year_divisible_by_100_not_divisible_by_400_is_common_year() { Assert.False(Leap.IsLeapYear(2100)); } [Fact(Skip = "Remove to run test")] public void Year_divisible_by_400_is_leap_year() { Assert.True(Leap.IsLeapYear(2000)); } }
Version data entries
28 entries across 28 versions & 1 rubygems