You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But why is it using the same location all three times? I'd expect each call to be a further point along the route.
There are several tests that check that the style has not changed after certain actions, but the actions seems incoherent (see point 2.), and there is no test to checks the positive condition that the style has ever changed, so I'm not confident that any of the expected code is being tested.
Some variables have misleading names - they seem to have nothing to do with actual intersections along the route. There's no taylorStreet, turkStreet, or fultonStreet at these points. I wonder if the underlying route changed at some point? It's a minor thing but it added to my confusion.
There are a few tests that seem to be in pursuit of making sure the stylemanager switches style when appropriate (and only when appropriate).
I noted this while working on some adjacent code, and it was requested I make an issue with my findings.
Weird things:
There's a test about tunnel travel, but it doesn't look like the route goes through any tunnel.
strange movement simulation.
I'm assuming the following code was intended to simulate travel by updating the location along the route:
But why is it using the same location all three times? I'd expect each call to be a further point along the route.
There are several tests that check that the style has not changed after certain actions, but the actions seems incoherent (see point 2.), and there is no test to checks the positive condition that the style has ever changed, so I'm not confident that any of the expected code is being tested.
Some variables have misleading names - they seem to have nothing to do with actual intersections along the route. There's no taylorStreet, turkStreet, or fultonStreet at these points. I wonder if the underlying route changed at some point? It's a minor thing but it added to my confusion.
The text was updated successfully, but these errors were encountered: