<s> from gmaps import Elevation <EOL> from . testutils import retry <EOL> elevation = Elevation ( sensor = False ) <EOL> @ retry <EOL> def test_elevation_with_only_locations ( ) : <EOL> locations = [ ( <NUM_LIT> , - <NUM_LIT> ) , ( <NUM_LIT> , - <NUM_LIT> ) , ( <NUM_LIT> , - <NUM_LIT> ) ] <EOL> result = elevation . elevation ( locations ) <EOL> assert len ( result ) == len ( locations ) <EOL> @ retry <EOL> def test_elevation_with_samples ( ) : <EOL> path = [ ( <NUM_LIT> , - <NUM_LIT> ) , ( <NUM_LIT> , - <NUM_LIT> ) , ( <NUM_LIT> , - <NUM_LIT> ) ] <EOL> result = elevation . elevation ( path , samples = <NUM_LIT:10> ) <EOL> assert len ( result ) == <NUM_LIT:10> </s>
