MathPHP\Statistics\Regression\TheilSenTest::testGetEquation PHP Метод

testGetEquation() публичный Метод

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