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.
1 parent fe88247 commit bc7f980Copy full SHA for bc7f980
tests/MatrixTest.php
@@ -372,6 +372,15 @@ public function testAdjoint()
372
static::assertEquals(4, $adjoint->get(2, 2));
373
}
374
375
+ public function testRectangularAdjoint()
376
+ {
377
+ $matrix = $this->buildMatrix();
378
+
379
+ static::expectException(MatrixException::class);
380
381
+ $matrix->adjoint();
382
+ }
383
384
public function testConcatenateBottom()
385
{
386
$matrixA = new Matrix([[1, 2, 3]]);
0 commit comments