14
14
{
15
15
"description" : " encode yes" ,
16
16
"property" : " encode" ,
17
- "phrase" : " yes" ,
17
+ "input" : {
18
+ "phrase" : " yes"
19
+ },
18
20
"expected" : " bvh"
19
21
},
20
22
{
21
23
"description" : " encode no" ,
22
24
"property" : " encode" ,
23
- "phrase" : " no" ,
25
+ "input" : {
26
+ "phrase" : " no"
27
+ },
24
28
"expected" : " ml"
25
29
},
26
30
{
27
31
"description" : " encode OMG" ,
28
32
"property" : " encode" ,
29
- "phrase" : " OMG" ,
33
+ "input" : {
34
+ "phrase" : " OMG"
35
+ },
30
36
"expected" : " lnt"
31
37
},
32
38
{
33
39
"description" : " encode spaces" ,
34
40
"property" : " encode" ,
35
- "phrase" : " O M G" ,
41
+ "input" : {
42
+ "phrase" : " O M G"
43
+ },
36
44
"expected" : " lnt"
37
45
},
38
46
{
39
47
"description" : " encode mindblowingly" ,
40
48
"property" : " encode" ,
41
- "phrase" : " mindblowingly" ,
49
+ "input" : {
50
+ "phrase" : " mindblowingly"
51
+ },
42
52
"expected" : " nrmwy oldrm tob"
43
53
},
44
54
{
45
55
"description" : " encode numbers" ,
46
56
"property" : " encode" ,
47
- "phrase" : " Testing,1 2 3, testing." ,
57
+ "input" : {
58
+ "phrase" : " Testing,1 2 3, testing."
59
+ },
48
60
"expected" : " gvhgr mt123 gvhgr mt"
49
61
},
50
62
{
51
63
"description" : " encode deep thought" ,
52
64
"property" : " encode" ,
53
- "phrase" : " Truth is fiction." ,
65
+ "input" : {
66
+ "phrase" : " Truth is fiction."
67
+ },
54
68
"expected" : " gifgs rhurx grlm"
55
69
},
56
70
{
57
71
"description" : " encode all the letters" ,
58
72
"property" : " encode" ,
59
- "phrase" : " The quick brown fox jumps over the lazy dog." ,
73
+ "input" : {
74
+ "phrase" : " The quick brown fox jumps over the lazy dog."
75
+ },
60
76
"expected" : " gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"
61
77
}
62
78
]
68
84
{
69
85
"description" : " decode exercism" ,
70
86
"property" : " decode" ,
71
- "phrase" : " vcvix rhn" ,
87
+ "input" : {
88
+ "phrase" : " vcvix rhn"
89
+ },
72
90
"expected" : " exercism"
73
91
},
74
92
{
75
93
"description" : " decode a sentence" ,
76
94
"property" : " decode" ,
77
- "phrase" : " zmlyh gzxov rhlug vmzhg vkkrm thglm v" ,
95
+ "input" : {
96
+ "phrase" : " zmlyh gzxov rhlug vmzhg vkkrm thglm v"
97
+ },
78
98
"expected" : " anobstacleisoftenasteppingstone"
79
99
},
80
100
{
81
101
"description" : " decode numbers" ,
82
102
"property" : " decode" ,
83
- "phrase" : " gvhgr mt123 gvhgr mt" ,
103
+ "input" : {
104
+ "phrase" : " gvhgr mt123 gvhgr mt"
105
+ },
84
106
"expected" : " testing123testing"
85
107
},
86
108
{
87
109
"description" : " decode all the letters" ,
88
110
"property" : " decode" ,
89
- "phrase" : " gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt" ,
111
+ "input" : {
112
+ "phrase" : " gsvjf rxpyi ldmul cqfnk hlevi gsvoz abwlt"
113
+ },
90
114
"expected" : " thequickbrownfoxjumpsoverthelazydog"
91
115
}
92
116
]
93
117
}
94
118
]
95
- }
119
+ }
0 commit comments