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