Sha256: b5c95eb8f24fa1ea935d2106f132e070386a153249e96bbbf117e46b2f2fe287
Contents?: true
Size: 686 Bytes
Versions: 37
Compression:
Stored size: 686 Bytes
Contents
import unittest from scrabble_score import score test "lowercase letter": check score("a") == 1 test "uppercase letter": check score("A") == 1 test "valuable letter": check score("f") == 4 test "short word": check score("at") == 2 test "short valuable word": check score("zoo") == 12 test "medium word": check score("street") == 6 test "medium valuable word": check score("quirky") == 22 test "long mixed case word": check score("OxyphenButazone") == 41 test "english like word": check score("pinata") == 8 test "empty input": check score("") == 0 test "entire alphabet available": check score("abcdefghijklmnopqrstuvwxyz") == 87
Version data entries
37 entries across 37 versions & 1 rubygems