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

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

public testGetPoints ( )
    public function testGetPoints()
    {
        $points = [[1, 2], [2, 3], [4, 5], [5, 7], [6, 8]];
        $regression = new TheilSen($points);
        $this->assertEquals($points, $regression->getPoints());
    }