Sha256: 1d7215d02132cc2397453c698e51687e005c3afcf1d220b7b2d8b48c163e98ca
Contents?: true
Size: 455 Bytes
Versions: 255
Compression:
Stored size: 455 Bytes
Contents
var Matrix = require('./matrix'); describe('Matrix', function () { it('can extract a row', function () { expect(new Matrix('1 2\n10 20').rows[0]).toEqual([1, 2]); }); xit('can extract the other row', function () { expect(new Matrix('9 8 7\n19 18 17').rows[1]).toEqual([19, 18, 17]); }); xit('can extract a column', function () { expect(new Matrix('89 1903 3\n18 3 1\n9 4 800').columns[1]) .toEqual([1903, 3, 4]); }); });
Version data entries
255 entries across 255 versions & 1 rubygems