diff --git a/.travis.yml b/.travis.yml index b5cb9377f..b36284ab1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,6 @@ notifications: branches: only: - master - - "5.20" # enable building tags - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ diff --git a/features/testbot/snap.feature b/features/testbot/snap.feature index a98d8724e..604b3b20f 100644 --- a/features/testbot/snap.feature +++ b/features/testbot/snap.feature @@ -183,3 +183,28 @@ Feature: Snap start/end point to the nearest way | x | n | xf,xf | | x | o | xg,xg | | x | p | xh,xh | + + Scenario: Weighted snapping +# Given the query options +# | snapping | weighted | + Given a grid size of 10 meters + Given the node map + """ + a b c + 1 2 3 4 + 5 6 7 8d + 9 + 0 e + """ + + And the ways + | nodes | + | ab | + | bc | + | cd | + | de | + + When I route I should get + | from | to | route | + | 1 | 0 | ab,bc,cd,de | + | 2 | 0 | bc,cd,de | \ No newline at end of file