Skip to content

[test] Clarify and cover orphaned functions distance() and time_diffs() in data_utils.py #167

@adity1raut

Description

@adity1raut

Description:

  • Both distance() and time_diffs() (lines 23–71) carry an internal # TODO: Where is this function used? comment. They have no tests, so any accidental breakage (e.g., removal, signature change) would be silent.

Acceptance criteria

  • Add unit tests with known inputs/outputs (e.g., a straight 2-point route along a meridian where distance is analytically known)
  • If the functions are confirmed unused, open a separate issue to remove them — but until then, tests act as a guard

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions