function locationmapTest::test_locationmap_geocode_for_address in Location Map 7
Same name and namespace in other branches
- 8.2 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address()
- 7.2 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address()
File
- tests/
locationmap.test, line 13
Class
Code
function test_locationmap_geocode_for_address() {
$result = locationmap_geocode_for_address("1600 Amphitheatre Parkway, Mountain View, CA");
$expected = array(
"37.421972",
"-122.084143",
);
$this
->assertEqual($expected, $result);
}