tsp-art-python
tsp-art-python copied to clipboard
Tests!
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.