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