diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2016-01-07 16:46:42 +0300 |
---|---|---|
committer | Lev Dragunov <l.dragunov@corp.mail.ru> | 2016-01-07 16:46:42 +0300 |
commit | e4ffb218f87330df797633a52bc69d18b9126343 (patch) | |
tree | 5c485eafa87f6389fb935290f0ab3ad4154a8b66 /pedestrian_routing_tests | |
parent | fcc93fb7871fb8f0825a87f97fdb5957165d353f (diff) |
Comment some slow pedestrian tests.
Diffstat (limited to 'pedestrian_routing_tests')
-rw-r--r-- | pedestrian_routing_tests/pedestrian_routing_tests.cpp | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/pedestrian_routing_tests/pedestrian_routing_tests.cpp b/pedestrian_routing_tests/pedestrian_routing_tests.cpp index 4a9d3e966e..7b4e6c86f6 100644 --- a/pedestrian_routing_tests/pedestrian_routing_tests.cpp +++ b/pedestrian_routing_tests/pedestrian_routing_tests.cpp @@ -287,12 +287,6 @@ UNIT_TEST(PedestrianRouting_UK_Test4) m2::PointD(0.06262, 60.30536)); } -UNIT_TEST(PedestrianRouting_UK_Test5) -{ - TestTwoPoints(m2::PointD(0.07362, 60.24965), - m2::PointD(0.06262, 60.30536)); -} - UNIT_TEST(PedestrianRouting_UK_Test6) { TestTwoPoints(m2::PointD(0.12973, 60.28698), @@ -305,12 +299,6 @@ UNIT_TEST(PedestrianRouting_UK_Test7) m2::PointD(0.30297, 60.47235)); } -UNIT_TEST(PedestrianRouting_UK_Test8) -{ - TestTwoPoints(m2::PointD(-0.09007, 59.93887), - m2::PointD(-0.36591, 60.38306)); -} - UNIT_TEST(PedestrianRouting_UK_Test9) { TestTwoPoints(m2::PointD( 0.01390, 60.24852), @@ -329,18 +317,6 @@ UNIT_TEST(PedestrianRouting_UK_Test11) m2::PointD(-1.34027, 60.37865)); } -UNIT_TEST(PedestrianRouting_UK_Test12) -{ - TestTwoPoints(m2::PointD(-0.41581, 60.05507), - m2::PointD(-0.00499, 60.55921)); -} - -UNIT_TEST(PedestrianRouting_UK_Test13) -{ - TestTwoPoints(m2::PointD(-0.00847, 60.17501), - m2::PointD(-0.38291, 60.48435)); -} - UNIT_TEST(PedestrianRouting_UK_Test14) { TestTwoPoints(m2::PointD(-0.49921, 60.50093), @@ -365,12 +341,6 @@ UNIT_TEST(PedestrianRouting_UK_Test17) m2::PointD(0.59411, 60.31529)); } -UNIT_TEST(PedestrianRouting_UK_Test18) -{ - TestTwoPoints(m2::PointD( 0.57712, 60.31156), - m2::PointD(-1.09911, 59.24341)); -} - UNIT_TEST(PedestrianRouting_UK_Test19) { TestTwoPoints(m2::PointD(-0.42411, 60.22511), @@ -449,3 +419,35 @@ UNIT_TEST(PedestrianRouting_UK_Test31) m2::PointD(-2.25378, 63.62744)); } +// This is very slow pedestrian tests (more than 20 minutes). +#ifdef SLOW_TESTS +UNIT_TEST(PedestrianRouting_UK_Test5) +{ + TestTwoPoints(m2::PointD(0.07362, 60.24965), + m2::PointD(0.06262, 60.30536)); +} + +UNIT_TEST(PedestrianRouting_UK_Test8) +{ + TestTwoPoints(m2::PointD(-0.09007, 59.93887), + m2::PointD(-0.36591, 60.38306)); +} + +UNIT_TEST(PedestrianRouting_UK_Test12) +{ + TestTwoPoints(m2::PointD(-0.41581, 60.05507), + m2::PointD(-0.00499, 60.55921)); +} + +UNIT_TEST(PedestrianRouting_UK_Test13) +{ + TestTwoPoints(m2::PointD(-0.00847, 60.17501), + m2::PointD(-0.38291, 60.48435)); +} + +UNIT_TEST(PedestrianRouting_UK_Test18) +{ + TestTwoPoints(m2::PointD( 0.57712, 60.31156), + m2::PointD(-1.09911, 59.24341)); +} +#endif |