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

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.179 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.178 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.177 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.176 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.175 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.174 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.173 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.172 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.171 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.170 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.169 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.167 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.166 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.165 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.164 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.163 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.162 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.161 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.160 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs