Skip to content

Commit 0863448

Browse files
authored
1 parent 10f3ad6 commit 0863448

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

exercises/scrabble-score/test/Tests.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ specs = describe "scrabble-score" $ do
2323
where
2424
assertion = scoreWord input `shouldBe` fromIntegral expected
2525

26-
-- Test cases adapted from `exercism/x-common/scrabble-score.json` on 2016-07-26.
26+
-- Test cases adapted from `exercism/x-common/scrabble-score.json` on 2017-01-31.
2727

2828
data Case = Case { description :: String
2929
, input :: String
@@ -75,4 +75,8 @@ cases = [ Case { description = "lowercase letter"
7575
, input = ""
7676
, expected = 0
7777
}
78+
, Case { description = "entire alphabet available"
79+
, input = "abcdefghijklmnopqrstuvwxyz"
80+
, expected = 87
81+
}
7882
]

0 commit comments

Comments
 (0)