genegis / genegis

Managing individual based genetic records in a geographic context.
Mozilla Public License 2.0
4 stars 1 forks source link

Unit tests for distance calculations. #101

Closed scw closed 10 years ago

scw commented 10 years ago

Add unit tests for ShortestDistancePaths and DistanceMatrix scripts.

scw commented 10 years ago

@tensorjack did 98% of the work for this in 3e24f7729977f89fe5f820af232d3a326445cdb8, which includes doing distance comparisons between the ArcPy results and the equivalent GeodesicLib calculations. He also wrote a test case for the shortest distance paths, which tests that an output shapefile is created. I've added a few more changes in 486c14a66f67cb0d989f1047a81ea9fea3504e1a for shortest distance paths, and combined with removing the requirement for MXD files (issue #99) this is now done.