def test_get_collection_curvature_on_way(road_a, road_b): output = KmlOutput('km') # Set a different curvature for road_b: 300 instead of 226 road_b['curvature'] = 300 collection = {'join_type': 'arbitrary', 'ways': [road_a, road_b]} curvature = output.get_collection_curvature(collection) assert curvature == 824
def test_get_collection_curvature(road_a, road_b): output = KmlOutput('km') collection = {'join_type': 'arbitrary', 'ways': [road_a, road_b]} curvature = output.get_collection_curvature(collection) assert curvature == 750