Skip to content

Commit

Permalink
Add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
DagmarTimmreck committed Aug 28, 2019
1 parent 51b8b30 commit 1298f9b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion exercises/matrix/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "matrix",
"version": "1.1.0",
"version": "1.2.0",
"cases": [
{
"description": "extract row from one number matrix",
Expand Down Expand Up @@ -65,6 +65,15 @@
},
"expected": [3, 6, 9, 6]
},
{
"description": "can extract column from non-square matrix with more columns than rows",
"property": "column",
"input": {
"string": "1 2 3\n4 5 6",
"index": 3
},
"expected": [3, 6]
},
{
"description": "extract column where numbers have different widths",
"property": "column",
Expand Down

0 comments on commit 1298f9b

Please sign in to comment.