Update tests expectations and obvious detection

This commit is contained in:
Michael Krasnyk
2018-02-13 16:08:53 +01:00
parent d166fc6a75
commit 8b52c6c7ac
13 changed files with 328 additions and 930 deletions
+1
View File
@@ -240,6 +240,7 @@ void AdjustToCombinedTurnStrategy::operator()(RouteStep &step_at_turn_location,
setInstructionType(step_at_turn_location, TurnType::Turn);
}
else if (hasTurnType(step_at_turn_location, TurnType::Turn) &&
!hasTurnType(transfer_from_step, TurnType::Suppressed) &&
haveSameName(step_prior_to_intersection, transfer_from_step))
{
setInstructionType(step_at_turn_location, TurnType::Continue);