|
1 | 1 | {
|
2 | 2 | "exercise": "rail-fence-cipher",
|
3 |
| - "version": "1.0.0", |
| 3 | + "version": "1.0.1", |
4 | 4 | "comments": [
|
5 | 5 | "The tests do not expect any normalization or cleaning.",
|
6 | 6 | "That trade is tested in enough other exercises."
|
|
10 | 10 | "description": "encode",
|
11 | 11 | "cases": [
|
12 | 12 | {
|
13 |
| - "description": "test to encode with two rails", |
| 13 | + "description": "encode with two rails", |
14 | 14 | "property": "encode",
|
15 | 15 | "msg": "XOXOXOXOXOXOXOXOXO",
|
16 | 16 | "rails": 2,
|
17 | 17 | "expected": "XXXXXXXXXOOOOOOOOO"
|
18 | 18 | },
|
19 | 19 | {
|
20 |
| - "description": "test to encode with three rails", |
| 20 | + "description": "encode with three rails", |
21 | 21 | "property": "encode",
|
22 | 22 | "msg": "WEAREDISCOVEREDFLEEATONCE",
|
23 | 23 | "rails": 3,
|
24 | 24 | "expected": "WECRLTEERDSOEEFEAOCAIVDEN"
|
25 | 25 | },
|
26 | 26 | {
|
27 |
| - "description": "test to encode with ending in the middle", |
| 27 | + "description": "encode with ending in the middle", |
28 | 28 | "property": "encode",
|
29 | 29 | "msg": "EXERCISES",
|
30 | 30 | "rails": 4,
|
|
36 | 36 | "description": "decode",
|
37 | 37 | "cases": [
|
38 | 38 | {
|
39 |
| - "description": "test to decode with three rails", |
| 39 | + "description": "decode with three rails", |
40 | 40 | "property": "decode",
|
41 | 41 | "msg": "TEITELHDVLSNHDTISEIIEA",
|
42 | 42 | "rails": 3,
|
43 | 43 | "expected": "THEDEVILISINTHEDETAILS"
|
44 | 44 | },
|
45 | 45 | {
|
46 |
| - "description": "test to decode with five rails", |
| 46 | + "description": "decode with five rails", |
47 | 47 | "property": "decode",
|
48 | 48 | "msg": "EIEXMSMESAORIWSCE",
|
49 | 49 | "rails": 5,
|
50 | 50 | "expected": "EXERCISMISAWESOME"
|
51 | 51 | },
|
52 | 52 | {
|
53 |
| - "description": "test to decode with six rails", |
| 53 | + "description": "decode with six rails", |
54 | 54 | "property": "decode",
|
55 | 55 | "msg": "133714114238148966225439541018335470986172518171757571896261",
|
56 | 56 | "rails": 6,
|
|
0 commit comments