Skip to content

Unit test for nearest road #131

@nreinicke

Description

@nreinicke

PR #130 implemented a bugfix for the NxMap.nearest_road method. It would be nice to include a set of unit tests testing this method to make sure that it's returning the nearest road each time.

One idea would be to create a "dummy" road map and then find the nearest to a point using some kind of GIS software.

Metadata

Metadata

Assignees

No one assigned

    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