MCordingley\LinearAlgebraTest\LUPTest::testSingularMatrix PHP Method

testSingularMatrix() public method

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