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.119 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.118 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.117 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.116 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.115 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.114 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.113 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.111 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.110 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.109 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.108 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.107 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.106 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.105 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.104 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.103 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.102 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.101 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs
trackler-2.2.1.100 tracks/fsharp/exercises/nth-prime/NthPrimeTest.fs