Skip to content

Tests! #7

@matthras

Description

@matthras

It just occurred to me before starting this issue that if I have a folder with sample/example images, I can definitely code up a bunch of tests to make sure that any new code is still consistent with the expected output.

One thing to be careful about is that any solver might return different TSP paths on different tries, so we'd want to check that it's got the same/required number of nodes as opposed to checking the actual solution.

Otherwise, a test checking that conversion of TSP solutions -> image should be reasonably straightforward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions