gtfs-realtime-validator
gtfs-realtime-validator copied to clipboard
fix: E026 - 0,0 is invalid vehicle coordinate
Summary:
Addresses #77. 0,0 is invalid vehicle coordinate. Added check for vehicle location. Also updated UtilTest.java as it had a test with 0,0 as a valid coordinate. My understanding is it should be invalid here as well.
Expected behavior:
Vehicle location with 0,0 as a coordinate should throw E026
Please make sure these boxes are checked before submitting your pull request - thanks!
- [x] Run the unit tests with
mvn testto make sure you didn't break anything - [x] Format the title like "feat: {new feature short description}" or "fix: {describe what was fixed}". Title must follow the Conventional Commit Specification (https://www.conventionalcommits.org/en/v1.0.0/).
- [x] Linked all relevant issues
- [ ] Include screenshot(s) showing how this pull request works and fixes the issue(s) (N/A)