public function testDeterminant() { $matrix = new Matrix([[6, 1, 1], [4, -2, 5], [2, 8, 7]]); static::assertEquals(-306, $matrix->determinant()); }