Fix library test

This commit is contained in:
Patrick Niklaus 2016-05-19 00:19:35 +02:00
parent 57321979ae
commit 98b83b7208
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

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