Sha256: def58146ceac1ef8a399be2ef711fa5c0888d2c8964e60067f38122ff39ea402
Contents?: true
Size: 639 Bytes
Versions: 44
Compression:
Stored size: 639 Bytes
Contents
// This file was auto-generated based on version 2.0.0 of the canonical data. module NthPrimeTest open FsUnit.Xunit open Xunit open NthPrime [<Fact>] let ``First prime`` () = prime 1 |> should equal (Some 2) [<Fact(Skip = "Remove to run test")>] let ``Second prime`` () = prime 2 |> should equal (Some 3) [<Fact(Skip = "Remove to run test")>] let ``Sixth prime`` () = prime 6 |> should equal (Some 13) [<Fact(Skip = "Remove to run test")>] let ``Big prime`` () = prime 10001 |> should equal (Some 104743) [<Fact(Skip = "Remove to run test")>] let ``There is no zeroth prime`` () = prime 0 |> should equal None
Version data entries
44 entries across 44 versions & 1 rubygems