-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade SUMO to 1.12.0 #1751
Upgrade SUMO to 1.12.0 #1751
Conversation
Interesting that I wonder how the new version of SUMO had an effect on it. |
It looks like it's a small numerical difference:
I can change the assert from an equality to |
smarts/core/tests/test_map.py
Outdated
@@ -132,7 +132,7 @@ def test_sumo_map(sumo_scenario): | |||
rpt = RoadMap.Route.RoutePoint(pt=point) | |||
rendpt = RoadMap.Route.RoutePoint(pt=Point(198, 65.20)) | |||
db = route.distance_between(rpt, rendpt) | |||
assert db == 134.01 | |||
assert math.isclose(db, 134.01) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might need a bit more tweaking since this still resolves false.
|
Closes #1717