gtfs-realtime-validator icon indicating copy to clipboard operation
gtfs-realtime-validator copied to clipboard

fix: E026 - 0,0 is invalid vehicle coordinate

Open briandonahue opened this issue 2 years ago • 0 comments

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 test to 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)

briandonahue avatar Feb 02 '23 18:02 briandonahue