Sha256: 978758b98eaaa7522798f40d56fd936260f0c0e370f3107c9d97065f1e3c2ea0

Contents?: true

Size: 597 Bytes

Versions: 240

Compression:

Stored size: 597 Bytes

Contents

module LeapYearTest

open NUnit.Framework
open LeapYear
    
[<Test>]
let ``Is 1996 a valid leap year`` () = 
    Assert.That(isLeapYear 1996, Is.True)
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Is 1997 an invalid leap year`` () = 
    Assert.That(isLeapYear 1997, Is.False)
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Is the turn of the 20th century an invalid leap year`` () = 
    Assert.That(isLeapYear 1900, Is.False)
    
[<Test>]
[<Ignore("Remove to run test")>]
let ``Is the turn of the 25th century a valid leap year`` () = 
    Assert.That(isLeapYear 2400, Is.True)

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
trackler-2.2.1.22 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.21 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.20 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.19 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.18 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.17 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.16 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.15 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.14 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.13 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.12 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.11 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.10 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.9 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.8 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.7 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.6 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.5 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.4 tracks/fsharp/exercises/leap/LeapTest.fs
trackler-2.2.1.3 tracks/fsharp/exercises/leap/LeapTest.fs