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

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