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:
committed by
Patrick Niklaus
parent
e45d44cb8e
commit
6dd029e6ea
@@ -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}; }
|
||||
|
||||
Reference in New Issue
Block a user