From 1dca8ae76aa03eda053d0d39669ad6b8cdbb0905 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Sat, 15 Dec 2018 20:42:07 -0700 Subject: [PATCH] Correct invalid tests - these captured the incorrect behaviour, the matrices should've been symmetrical (a->o == o->a for these cases) --- features/testbot/multi_level_routing.feature | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/features/testbot/multi_level_routing.feature b/features/testbot/multi_level_routing.feature index 35e0408bc..467ddd26f 100644 --- a/features/testbot/multi_level_routing.feature +++ b/features/testbot/multi_level_routing.feature @@ -111,9 +111,9 @@ Feature: Multi level routing When I request a travel distance matrix I should get | | a | f | l | o | | a | 0 | 2383.7 | 1566.9 | 1366.8 | - | f | 2339.9 | 0 | 1198.1 | 1522.1 | - | l | 1618.3 | 1293.3 | 0 | 800.5 | - | o | 1418.2 | 1617.3 | 800.5 | 0 | + | f | 2383.7 | 0 | 1293.3 | 1617.3 | + | l | 1566.9 | 1293.3 | 0 | 800.5 | + | o | 1366.8 | 1617.3 | 800.5 | 0 | When I request a travel distance matrix I should get | | a | f | l | o | @@ -122,21 +122,21 @@ Feature: Multi level routing When I request a travel distance matrix I should get | | a | | a | 0 | - | f | 2339.9 | - | l | 1618.3 | - | o | 1418.2 | + | f | 2383.7 | + | l | 1566.9 | + | o | 1366.8 | When I request a travel distance matrix I should get | | a | f | l | o | | a | 0 | 2383.7 | 1566.9 | 1366.8 | - | f | 2339.9 | 0 | 1198.1 | 1522.1 | + | f | 2383.7 | 0 | 1293.3 | 1617.3 | When I request a travel distance matrix I should get | | a | o | | a | 0 | 1366.8 | - | f | 2339.9 | 1522.1 | - | l | 1618.3 | 800.5 | - | o | 1418.2 | 0 | + | f | 2383.7 | 1617.3 | + | l | 1566.9 | 800.5 | + | o | 1366.8 | 0 | Scenario: Testbot - Multi level routing: horizontal road Given the node map