File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "exercise" : " scrabble-score" ,
3
+ "version" : " 1.0.0" ,
2
4
"cases" : [
3
5
{
4
6
"description" : " lowercase letter" ,
7
+ "property" : " score" ,
5
8
"input" : " a" ,
6
9
"expected" : 1
7
10
},
8
11
{
9
12
"description" : " uppercase letter" ,
13
+ "property" : " score" ,
10
14
"input" : " A" ,
11
15
"expected" : 1
12
16
},
13
17
{
14
18
"description" : " valuable letter" ,
19
+ "property" : " score" ,
15
20
"input" : " f" ,
16
21
"expected" : 4
17
22
},
18
23
{
19
24
"description" : " short word" ,
25
+ "property" : " score" ,
20
26
"input" : " at" ,
21
27
"expected" : 2
22
28
},
23
29
{
24
30
"description" : " short, valuable word" ,
31
+ "property" : " score" ,
25
32
"input" : " zoo" ,
26
33
"expected" : 12
27
34
},
28
35
{
29
36
"description" : " medium word" ,
37
+ "property" : " score" ,
30
38
"input" : " street" ,
31
39
"expected" : 6
32
40
},
33
41
{
34
42
"description" : " medium, valuable word" ,
43
+ "property" : " score" ,
35
44
"input" : " quirky" ,
36
45
"expected" : 22
37
46
},
38
47
{
39
48
"description" : " long, mixed-case word" ,
49
+ "property" : " score" ,
40
50
"input" : " OxyphenButazone" ,
41
51
"expected" : 41
42
52
},
43
53
{
44
54
"description" : " english-like word" ,
55
+ "property" : " score" ,
45
56
"input" : " pinata" ,
46
57
"expected" : 8
47
58
},
48
59
{
49
60
"description" : " empty input" ,
61
+ "property" : " score" ,
50
62
"input" : " " ,
51
63
"expected" : 0
52
64
},
53
65
{
54
66
"description" : " entire alphabet available" ,
67
+ "property" : " score" ,
55
68
"input" : " abcdefghijklmnopqrstuvwxyz" ,
56
69
"expected" : 87
57
70
}
You can’t perform that action at this time.
0 commit comments