public function testGetYs() { $points = [[1, 2], [2, 3], [4, 5], [5, 7], [6, 8]]; $force = [0, 0]; $regression = new LinearThroughPoint($points, $force); $this->assertEquals([2, 3, 5, 7, 8], $regression->getYs()); }