Sha256: 18a1bb211fc07613e21143f214e1ee4af60a60b1f3765e59a4991247fc7c3442

Contents?: true

Size: 736 Bytes

Versions: 87

Compression:

Stored size: 736 Bytes

Contents

// This file was auto-generated based on version 1.2.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

87 entries across 87 versions & 1 rubygems

Version Path
trackler-2.2.1.151 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.150 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.149 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.148 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.147 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.146 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.145 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.144 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.143 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.142 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.141 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.140 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.139 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.138 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.137 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.136 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.135 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.134 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.133 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.132 tracks/csharp/exercises/leap/LeapTest.cs