Skip to content

Commit

Permalink
transpose: add testcase for mixed line length (closes exercism#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
RTino committed Dec 21, 2017
1 parent 9cc1c1d commit 0eec84b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions exercises/transpose/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,35 @@
" ."
]
},
{
"description": "mixed line length",
"property": "transpose",
"input": [
"The longest line.",
"A long line.",
"A longer line.",
"A line."
],
"expected": [
"TAAA",
"h ",
"elll",
" ooi",
"lnnn",
"ogge",
"n e.",
"glr",
"ei ",
"snl",
"tei",
" .n",
"l e",
"i .",
"n",
"e",
"."
]
},
{
"description": "square",
"property": "transpose",
Expand Down

0 comments on commit 0eec84b

Please sign in to comment.