Sha256: 997c73520d2a388c3515ca8dae33f8d67d812e56bde88dd63217bca5e4052ccb

Contents?: true

Size: 736 Bytes

Versions: 91

Compression:

Stored size: 736 Bytes

Contents

// This file was auto-generated based on version 1.0.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(2016));
    }

    [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

91 entries across 91 versions & 1 rubygems

Version Path
trackler-2.2.1.63 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.62 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.61 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.60 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.59 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.58 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.57 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.56 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.55 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.54 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.53 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.52 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.51 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.50 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.49 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.48 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.47 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.46 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.45 tracks/csharp/exercises/leap/LeapTest.cs
trackler-2.2.1.44 tracks/csharp/exercises/leap/LeapTest.cs