public function testSum() { $vector = new ColumnVector(1, 2, 3, -4); $this->assertSame(2.0, $vector->sum()); }