MathPHP\Statistics\Regression\PowerLawTest::testConstructor PHP Метод

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

public testConstructor ( )
    public function testConstructor()
    {
        $points = [[83, 183], [71, 168], [64, 171], [69, 178], [69, 176], [64, 172], [68, 165], [59, 158], [81, 183], [91, 182], [57, 163], [65, 175], [58, 164], [62, 175]];
        $regression = new PowerLaw($points);
        $this->assertInstanceOf('MathPHP\\Statistics\\Regression\\Regression', $regression);
        $this->assertInstanceOf('MathPHP\\Statistics\\Regression\\PowerLaw', $regression);
    }