/** * @covers tarcisio\p2d\Point::up */ public function testUp() { $up = 10; $p1 = new Point(0, 0); $p2 = $p1->up($up); $this->assertEquals($p1->y - $up, $p2->y); }