Sha256: 911dc282910d29b51cbfc17bc1e1b00084b8f69ae35baf6cbf8560ab280994e7

Contents?: true

Size: 1.71 KB

Versions: 79

Compression:

Stored size: 1.71 KB

Contents

// This file was auto-generated based on version 1.4.0 of the canonical data.

module PangramTest

open FsUnit.Xunit
open Xunit

open Pangram

[<Fact>]
let ``Sentence empty`` () =
    isPangram "" |> should equal false

[<Fact(Skip = "Remove to run test")>]
let ``Recognizes a perfect lower case pangram`` () =
    isPangram "abcdefghijklmnopqrstuvwxyz" |> should equal true

[<Fact(Skip = "Remove to run test")>]
let ``Pangram with only lower case`` () =
    isPangram "the quick brown fox jumps over the lazy dog" |> should equal true

[<Fact(Skip = "Remove to run test")>]
let ``Missing character 'x'`` () =
    isPangram "a quick movement of the enemy will jeopardize five gunboats" |> should equal false

[<Fact(Skip = "Remove to run test")>]
let ``Another missing character, e.g. 'h'`` () =
    isPangram "five boxing wizards jump quickly at it" |> should equal false

[<Fact(Skip = "Remove to run test")>]
let ``Pangram with underscores`` () =
    isPangram "the_quick_brown_fox_jumps_over_the_lazy_dog" |> should equal true

[<Fact(Skip = "Remove to run test")>]
let ``Pangram with numbers`` () =
    isPangram "the 1 quick brown fox jumps over the 2 lazy dogs" |> should equal true

[<Fact(Skip = "Remove to run test")>]
let ``Missing letters replaced by numbers`` () =
    isPangram "7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog" |> should equal false

[<Fact(Skip = "Remove to run test")>]
let ``Pangram with mixed case and punctuation`` () =
    isPangram "\"Five quacking Zephyrs jolt my wax bed.\"" |> should equal true

[<Fact(Skip = "Remove to run test")>]
let ``Upper and lower case versions of the same character should not be counted separately`` () =
    isPangram "the quick brown fox jumps over with lazy FX" |> should equal false

Version data entries

79 entries across 79 versions & 1 rubygems

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