Ejemplo n.º 1
0
 /**
  * Verify that the dimension of the point is correct.
  *
  * @test
  * @covers ::dimension
  * @uses \Nubs\Geometron\Point::__construct
  * @uses \Nubs\Geometron\Point::vector
  */
 public function dimensionIsCorrect()
 {
     $point = new Point(new Vector([5, 2, 1]));
     $this->assertSame(3, $point->dimension());
 }