Sha256: a38ee5f0ed6570f1c997f953fc5854364b0238251e1da1a0cbe6e874e5ef8463
Contents?: true
Size: 1.65 KB
Versions: 156
Compression:
Stored size: 1.65 KB
Contents
{ "exercise": "rail-fence-cipher", "version": "1.0.1", "comments": [ "The tests do not expect any normalization or cleaning.", "That trade is tested in enough other exercises." ], "cases": [ { "description": "encode", "cases": [ { "description": "encode with two rails", "property": "encode", "msg": "XOXOXOXOXOXOXOXOXO", "rails": 2, "expected": "XXXXXXXXXOOOOOOOOO" }, { "description": "encode with three rails", "property": "encode", "msg": "WEAREDISCOVEREDFLEEATONCE", "rails": 3, "expected": "WECRLTEERDSOEEFEAOCAIVDEN" }, { "description": "encode with ending in the middle", "property": "encode", "msg": "EXERCISES", "rails": 4, "expected": "ESXIEECSR" } ] }, { "description": "decode", "cases": [ { "description": "decode with three rails", "property": "decode", "msg": "TEITELHDVLSNHDTISEIIEA", "rails": 3, "expected": "THEDEVILISINTHEDETAILS" }, { "description": "decode with five rails", "property": "decode", "msg": "EIEXMSMESAORIWSCE", "rails": 5, "expected": "EXERCISMISAWESOME" }, { "description": "decode with six rails", "property": "decode", "msg": "133714114238148966225439541018335470986172518171757571896261", "rails": 6, "expected": "112358132134558914423337761098715972584418167651094617711286" } ] } ] }
Version data entries
156 entries across 156 versions & 1 rubygems