MathPHP\Statistics\Regression\LineweaverBurkTest::testGetEquation PHP Method

testGetEquation() public method

public testGetEquation ( array $points )
$points array
    public function testGetEquation(array $points)
    {
        $regression = new LineweaverBurk($points);
        $this->assertRegExp('/^y = \\d+[.]\\d+x\\/\\(\\d+[.]\\d+\\+x\\)$/', $regression->getEquation());
    }