Sha256: b9b6595486a7f84ea56b48ec45e9c40e582cf7d55f189f0b387c85c5012be3d8
Contents?: true
Size: 1.27 KB
Versions: 79
Compression:
Stored size: 1.27 KB
Contents
// This file was auto-generated based on version 1.1.0 of the canonical data. module ScrabbleScoreTest open FsUnit.Xunit open Xunit open ScrabbleScore [<Fact>] let ``Lowercase letter`` () = score "a" |> should equal 1 [<Fact(Skip = "Remove to run test")>] let ``Uppercase letter`` () = score "A" |> should equal 1 [<Fact(Skip = "Remove to run test")>] let ``Valuable letter`` () = score "f" |> should equal 4 [<Fact(Skip = "Remove to run test")>] let ``Short word`` () = score "at" |> should equal 2 [<Fact(Skip = "Remove to run test")>] let ``Short, valuable word`` () = score "zoo" |> should equal 12 [<Fact(Skip = "Remove to run test")>] let ``Medium word`` () = score "street" |> should equal 6 [<Fact(Skip = "Remove to run test")>] let ``Medium, valuable word`` () = score "quirky" |> should equal 22 [<Fact(Skip = "Remove to run test")>] let ``Long, mixed-case word`` () = score "OxyphenButazone" |> should equal 41 [<Fact(Skip = "Remove to run test")>] let ``English-like word`` () = score "pinata" |> should equal 8 [<Fact(Skip = "Remove to run test")>] let ``Empty input`` () = score "" |> should equal 0 [<Fact(Skip = "Remove to run test")>] let ``Entire alphabet available`` () = score "abcdefghijklmnopqrstuvwxyz" |> should equal 87
Version data entries
79 entries across 79 versions & 1 rubygems