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