Sha256: 391f05d21f8f6de9018ec3c3fcd4f90694a108bc4e308eb38919b6f226f62e0b
Contents?: true
Size: 1.69 KB
Versions: 79
Compression:
Stored size: 1.69 KB
Contents
{ "exercise": "matrix", "version": "1.0.0", "cases": [ { "description": "extract row from one number matrix", "property": "row", "input": { "string": "1", "index": 0 }, "expected": [1] }, { "description": "can extract row", "property": "row", "input": { "string": "1 2\n3 4", "index": 1 }, "expected": [3, 4] }, { "description": "extract row where numbers have different widths", "property": "row", "input": { "string": "1 2\n10 20", "index": 1 }, "expected": [10, 20] }, { "description": "can extract row from non-square matrix", "property": "row", "input": { "string": "1 2 3\n4 5 6\n7 8 9\n8 7 6", "index": 2 }, "expected": [7, 8, 9] }, { "description": "extract column from one number matrix", "property": "column", "input": { "string": "1", "index": 0 }, "expected": [1] }, { "description": "can extract column", "property": "column", "input": { "string": "1 2 3\n4 5 6\n7 8 9", "index": 2 }, "expected": [3, 6, 9] }, { "description": "can extract column from non-square matrix", "property": "column", "input": { "string": "1 2 3\n4 5 6\n7 8 9\n8 7 6", "index": 2 }, "expected": [3, 6, 9, 6] }, { "description": "extract column where numbers have different widths", "property": "column", "input": { "string": "89 1903 3\n18 3 1\n9 4 800", "index": 1 }, "expected": [1903, 3, 4] } ] }
Version data entries
79 entries across 79 versions & 1 rubygems