We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
det
1 parent 00cee87 commit 0e777bfCopy full SHA for 0e777bf
test/unit-tests/function/matrix/det.test.js
@@ -134,9 +134,11 @@ describe('det', function () {
134
it('should return 1 for an empty array or matrix', function () {
135
assert.deepStrictEqual(det([]), 1)
136
assert.deepStrictEqual(det([[]]), 1)
137
+ assert.deepStrictEqual(det([[], []]), 1)
138
139
assert.deepStrictEqual(det(math.matrix([])), 1)
140
assert.deepStrictEqual(det(math.matrix([[]])), 1)
141
+ assert.deepStrictEqual(det(math.matrix([[], []])), 1)
142
})
143
144
it('should not change the value of the initial matrix', function () {
0 commit comments