Fix library test
This commit is contained in:
parent
57321979ae
commit
98b83b7208
@ -63,13 +63,16 @@ BOOST_AUTO_TEST_CASE(test_route_same_coordinates_fixture)
|
|||||||
{"name", "Boulevard du Larvotto"},
|
{"name", "Boulevard du Larvotto"},
|
||||||
{"mode", "driving"},
|
{"mode", "driving"},
|
||||||
{"maneuver", json::Object{{
|
{"maneuver", json::Object{{
|
||||||
|
{"location", location},
|
||||||
|
{"bearing_before", 0},
|
||||||
|
{"bearing_after", 0},
|
||||||
{"type", "depart"},
|
{"type", "depart"},
|
||||||
}}},
|
}}},
|
||||||
{"intersections",
|
{"intersections",
|
||||||
json::Array{{json::Object{
|
json::Array{{json::Object{
|
||||||
{{"location", location},
|
{{"location", location},
|
||||||
{"bearings", json::Array{{0, 180}}},
|
{"bearings", json::Array{{0}}},
|
||||||
{"entry", json::Array{{"true", "true"}}},
|
{"entry", json::Array{{json::True()}}},
|
||||||
{"out", 0}}}}}}}}},
|
{"out", 0}}}}}}}}},
|
||||||
|
|
||||||
json::Object{{{"duration", 0.},
|
json::Object{{{"duration", 0.},
|
||||||
@ -77,13 +80,13 @@ BOOST_AUTO_TEST_CASE(test_route_same_coordinates_fixture)
|
|||||||
{"geometry", "yw_jGupkl@"},
|
{"geometry", "yw_jGupkl@"},
|
||||||
{"name", "Boulevard du Larvotto"},
|
{"name", "Boulevard du Larvotto"},
|
||||||
{"mode", "driving"},
|
{"mode", "driving"},
|
||||||
{"maneuver", json::Object{{{"type", "arrive"}}}},
|
{"maneuver", json::Object{{{"location", location}, {"bearing_before", 0}, {"bearing_after", 0}, {"type", "arrive"}}}},
|
||||||
{"intersections",
|
{"intersections",
|
||||||
json::Array{{json::Object{
|
json::Array{{json::Object{
|
||||||
{{"location", location},
|
{{"location", location},
|
||||||
{"bearings", json::Array{{0, 180}}},
|
{"bearings", json::Array{{180}}},
|
||||||
{"entry", json::Array{{"true", "true"}}},
|
{"entry", json::Array{{json::True()}}},
|
||||||
{"in", 1}}}}}}
|
{"in", 0}}}}}}
|
||||||
|
|
||||||
}}}}}}}}}}}}}}}}};
|
}}}}}}}}}}}}}}}}};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user