From 8725e2f40de68778dfd6a5aeae22b8fe8fdd19f6 Mon Sep 17 00:00:00 2001 From: Lauren Budorick Date: Thu, 31 Mar 2016 12:33:48 -0700 Subject: [PATCH] Remove one more compass column; update polyline encoding tests --- cucumber.js | 2 +- features/testbot/geometry.feature | 8 +++----- features/testbot/projection.feature | 14 +++++++------- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/cucumber.js b/cucumber.js index a896cf90e..b7288c588 100644 --- a/cucumber.js +++ b/cucumber.js @@ -1,5 +1,5 @@ module.exports = { - default: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@mokob', + default: '--require features --tags ~@todo --tags ~@bug --tags ~@stress', verify: '--require features --tags ~@todo --tags ~@bug --tags ~@stress -f progress', jenkins: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@options -f progress', bugs: '--require features --tags @bug', diff --git a/features/testbot/geometry.feature b/features/testbot/geometry.feature index 8b38c06f8..dee5b0a5a 100644 --- a/features/testbot/geometry.feature +++ b/features/testbot/geometry.feature @@ -21,10 +21,8 @@ Feature: Retrieve geometry | cd | When I route I should get - | from | to | route | geometry | - | a | c | ab,bc | _c`\|@_upzA_c`\|@_c`\|@_c`\|@_c`\|@ | - | b | d | bc,cd | _gayB_yqwC_c`\|@_c`\|@_c`\|@_c`\|@ | + | from | to | route | geometry | + | a | c | ab,bc | _ibE_~cH_seK_seK | + | b | d | bc,cd | _seK_hgN_seK_seK | # Mind the \ before the pipes -# polycodec.rb decode2 '_c`|@_upzA_c`|@_c`|@_c`|@_c`|@' [[1.0, 1.5], [2.0, 2.5], [3.0, 3.5]] -# polycodec.rb decode2 '_gayB_yqwC_c`|@_c`|@_c`|@_c`|@' [[2.0, 2.5], [3.0, 3.5], [4.0, 4.5]] diff --git a/features/testbot/projection.feature b/features/testbot/projection.feature index d7a0b8993..960c084d5 100644 --- a/features/testbot/projection.feature +++ b/features/testbot/projection.feature @@ -23,13 +23,13 @@ Feature: Projection to nearest point on road Scenario: Projection onto way at high latitudes, 1km distance When I route I should get - | from | to | route | compass | bearing | distance | - | b | a | abc | SW | 225 | 1000m +-7 | - | b | c | abc | NE | 45 | 1000m +-7 | - | a | d | abc | NE | 45 | 1000m +-7 | - | d | a | abc | SW | 225 | 1000m +-7 | - | c | d | abc | SW | 225 | 1000m +-8 | - | d | c | abc | NE | 45 +-5 | 1000m +-8 | + | from | to | route | bearing | distance | + | b | a | abc | 225 | 1000m +-7 | + | b | c | abc | 45 | 1000m +-7 | + | a | d | abc | 45 | 1000m +-7 | + | d | a | abc | 225 | 1000m +-7 | + | c | d | abc | 225 | 1000m +-8 | + | d | c | abc | 45 +-5 | 1000m +-8 | Scenario: Projection onto way at high latitudes, no distance When I route I should get