Пример #1
0
 function test_setLat()
 {
     $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->setLat(42.432135);
     $result = $test_marker->getLat();
     $this->assertEquals(42.432135, $result);
 }