diff --git a/features/testbot/distance.feature b/features/testbot/distance.feature index b2b42cc59..4760d1a00 100644 --- a/features/testbot/distance.feature +++ b/features/testbot/distance.feature @@ -215,4 +215,22 @@ Feature: Distance calculation | x | u | xu | 3610m +-1 | | x | v | xv | 4240m +-1 | | x | w | xw | 3610m +-1 | - | x | y | xy | 3160m +-1 | \ No newline at end of file + | x | y | xy | 3160m +-1 | + + @maze + Scenario: Distance of a winding south-north path + Given a grid size of 7 meters + Given the node map + | a | b | s | t | + | d | c | r | q | + | e | f | o | p | + | h | g | n | m | + | i | j | k | l | + + And the ways + | nodes | + | abcdefghijklmnopqrst | + + When I route I should get + | from | to | route | distance | + | a | t | abcdefghijklmnopqrst | 133m +-1 |