public function testEvaluate(array $points, $x, $y) { $regression = new Linear($points); $this->assertEquals($y, $regression->evaluate($x), '', 0.01); }