Skip to content

Conversation

SofinaYang
Copy link
Contributor

@SofinaYang SofinaYang commented Apr 9, 2025

Fixes #233

  • Unit tests for distanceInMetersBetweenCords function in localization:
  • Set the threshold between the expected and estimated result to be 0.03
  • Used data from https://www.omnicalculator.com/other/latitude-longitude-distance as reference
  • Test cases include distance around thousands kilometers, around a hundred meters, and within 10 meters.

…ld for the expected and estimated result to be 0.03
@SofinaYang SofinaYang linked an issue Apr 9, 2025 that may be closed by this pull request
Copy link
Contributor

@miyatakazuya miyatakazuya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this works as intended. Nice job!

@miyatakazuya miyatakazuya merged commit 47d9724 into main May 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test Localization Distance Calc
2 participants