function locationmapTest::test_locationmap_geocode_for_address_recursive in Location Map 7
Same name and namespace in other branches
- 8.2 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address_recursive()
- 7.2 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address_recursive()
File
- tests/
locationmap.test, line 23
Class
Code
function test_locationmap_geocode_for_address_recursive() {
$result = locationmap_geocode_for_address_recursive("NonExistentAddress 123, NonExistingCity, Croatia");
$expected = array(
"44.466244",
"16.461248",
);
$this
->assertEqual($expected, $result);
$result = locationmap_geocode_for_address_recursive("NonExistentAddress 123, Pula, Croatia");
$expected = array(
"44.869652",
"13.841147",
);
$this
->assertEqual($expected, $result);
}