You are here

function locationmapTest::test_locationmap_geocode_for_address in Location Map 7.2

Same name and namespace in other branches
  1. 8.2 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address()
  2. 7 tests/locationmap.test \locationmapTest::test_locationmap_geocode_for_address()

File

tests/locationmap.test, line 13

Class

locationmapTest

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);
}