public function testSingularMatrix() { $matrix = new Matrix([[0, 1], [0, 1]]); static::expectException(MatrixException::class); new LUP($matrix); }