Ejemplo n.º 1
0
 function test_setLng()
 {
     $name = "Pok Pok";
     $address = "123 abcd street";
     $lat = 34.343534;
     $lng = 41.89089;
     $type = "Bar";
     $test_marker = new Marker($name, $address, $lat, $lng, $type);
     $test_marker->setLng(43.890098);
     $result = $test_marker->getLng();
     $this->assertEquals(43.890098, $result);
 }