MathPHP\Statistics\Regression\PowerLawTest::testGetEquation PHP 메소드

testGetEquation() 공개 메소드

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