-
-
Notifications
You must be signed in to change notification settings - Fork 544
/
canonical-data.json
109 lines (109 loc) · 3.03 KB
/
canonical-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"exercise": "pangram",
"comments": [
"A pangram is a sentence using every letter of the alphabet at least once.",
"Output should be a boolean denoting if the string is a pangram or not."
],
"cases": [
{
"uuid": "64f61791-508e-4f5c-83ab-05de042b0149",
"description": "empty sentence",
"property": "isPangram",
"input": {
"sentence": ""
},
"expected": false
},
{
"uuid": "74858f80-4a4d-478b-8a5e-c6477e4e4e84",
"description": "perfect lower case",
"property": "isPangram",
"input": {
"sentence": "abcdefghijklmnopqrstuvwxyz"
},
"expected": true
},
{
"uuid": "61288860-35ca-4abe-ba08-f5df76ecbdcd",
"description": "only lower case",
"property": "isPangram",
"input": {
"sentence": "the quick brown fox jumps over the lazy dog"
},
"expected": true
},
{
"uuid": "6564267d-8ac5-4d29-baf2-e7d2e304a743",
"description": "missing the letter 'x'",
"property": "isPangram",
"input": {
"sentence": "a quick movement of the enemy will jeopardize five gunboats"
},
"expected": false
},
{
"uuid": "c79af1be-d715-4cdb-a5f2-b2fa3e7e0de0",
"description": "missing the letter 'h'",
"property": "isPangram",
"input": {
"sentence": "five boxing wizards jump quickly at it"
},
"expected": false
},
{
"uuid": "d835ec38-bc8f-48e4-9e36-eb232427b1df",
"description": "with underscores",
"property": "isPangram",
"input": {
"sentence": "the_quick_brown_fox_jumps_over_the_lazy_dog"
},
"expected": true
},
{
"uuid": "8cc1e080-a178-4494-b4b3-06982c9be2a8",
"description": "with numbers",
"property": "isPangram",
"input": {
"sentence": "the 1 quick brown fox jumps over the 2 lazy dogs"
},
"expected": true
},
{
"uuid": "bed96b1c-ff95-45b8-9731-fdbdcb6ede9a",
"description": "missing letters replaced by numbers",
"property": "isPangram",
"input": {
"sentence": "7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog"
},
"expected": false
},
{
"uuid": "938bd5d8-ade5-40e2-a2d9-55a338a01030",
"description": "mixed case and punctuation",
"property": "isPangram",
"input": {
"sentence": "\"Five quacking Zephyrs jolt my wax bed.\""
},
"expected": true
},
{
"uuid": "2577bf54-83c8-402d-a64b-a2c0f7bb213a",
"description": "case insensitive",
"property": "isPangram",
"input": {
"sentence": "the quick brown fox jumps over with lazy FX"
},
"expected": false
},
{
"uuid": "7138e389-83e4-4c6e-8413-1e40a0076951",
"reimplements": "2577bf54-83c8-402d-a64b-a2c0f7bb213a",
"description": "a-m and A-M are 26 different characters but not a pangram",
"property": "isPangram",
"input": {
"sentence": "abcdefghijklm ABCDEFGHIJKLM"
},
"expected": false
}
]
}