Closed vladlemberg closed 2 years ago
Hello Everyone, I believe SeparateSidewalkCheck is ready for review. Few things:
1) I was unable to create a unit tests for alternative sidewalk mapping: sidewalk:left and sidewalk:right cases. Those tags were introduced in 6.6.1 Atlas version. Perhaps unit test suite can't understand these tags. Example: invalidHighwayRightSidewalkLeftAlternativeMapping;
2) Check was tested against USA region only.
@Bentleysb, @atiannicelli I'm confirming that unit tests for alternative Sidewalk mapping is broken because of new tags "sidewalk:left" and "sidewalk:right". I believe something is wrong with creating test atlas with new tags. I'm proposing to remove alternative sidewalk mapping for this PR. What would you suggest ?
Kudos, SonarCloud Quality Gate passed!
@atiannicelli please feel free to review when you get the chance. Thank you!
Description:
A check to validate that when sidewalk=* tags are used on a highway that any separately mapped sidewalk(s) are consistent with the highway’s sidewalk tags. Please refer to requirements and use cases: https://github.com/osmlab/atlas-checks/issues/653
Potential Impact:
Update Atlas version to 6.6.1.
Unit Test Approach:
Simulate true positive and false positive cases.
Test Results: