Sha256: 5f6cbb8ce17474dd00fb3a12ebfe92e3385c8086bd94dab44fe06a0274bc5513
Contents?: true
Size: 639 Bytes
Versions: 79
Compression:
Stored size: 639 Bytes
Contents
// This file was auto-generated based on version 2.1.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
79 entries across 79 versions & 1 rubygems