Replaced 'in' and 'out' at the flatbuffers 'instersection' object

with 'in_bearing' and 'out_bearing' to get flatbuffers schema javascript friendly.

Added a cucumber test for flatbuffers support.
This commit is contained in:
Denis Chaplygin
2019-08-26 14:03:29 +03:00
parent 80e1abba0c
commit b8182dd7ff
8 changed files with 4591 additions and 36 deletions
+2 -2
View File
@@ -562,11 +562,11 @@ BOOST_AUTO_TEST_CASE(test_route_serialize_fb)
if (step_count > 0)
{
BOOST_CHECK(intersection->in() < bearings->size());
BOOST_CHECK(intersection->in_bearing() < bearings->size());
}
if (step_count + 1 < steps->size())
{
BOOST_CHECK(intersection->out() < bearings->size());
BOOST_CHECK(intersection->out_bearing() < bearings->size());
}
}
++step_count;