Ejemplo n.º 1
0
 public function testAddPolyCoordinateWithValidValue()
 {
     $this->markerShape->resetCoordinates();
     $this->markerShape->setType('poly');
     $this->markerShape->addPolyCoordinate(1, 2);
     $this->markerShape->addPolyCoordinate(3, 4);
     $this->assertSame(array(1, 2, 3, 4), $this->markerShape->getCoordinates());
 }