Restore original intend of roundabout test

When doing the new Lua version refactor we changed the expectation to
use `continue uturn` instead of making a whole circle in the roundabout
as the original test case. This was only the shortest path since there
was no roundabout penalty.
This commit is contained in:
Patrick Niklaus
2017-12-23 14:08:55 +00:00
committed by Patrick Niklaus
parent e45d44cb8e
commit 6dd029e6ea
2 changed files with 14 additions and 11 deletions
@@ -80,7 +80,7 @@ struct TurnInstruction
bool IsUTurn() const
{
return type == TurnType::Turn && direction_modifier == DirectionModifier::UTurn;
return type != TurnType::NoTurn && direction_modifier == DirectionModifier::UTurn;
}
static TurnInstruction INVALID() { return {TurnType::Invalid, DirectionModifier::UTurn}; }