DesignEngrLab / TVGL

Tessellation and Voxelization Geometry Library
http://designengrlab.github.io/TVGL/
MIT License
58 stars 17 forks source link

Add Clipper Tests #11

Closed slindberg closed 8 years ago

slindberg commented 8 years ago

This adds the clipper test suite, ported to C# as a set of NUnit tests. Originally, this work was done on top of the polygon branch in clipper-tests, but after failing to get tests passing, I reverted to master so that I could ensure no bugs were introduced in the translation of tests. There were too many changes to keep track of in order to debug why tests weren't passing, mostly in one very large commit. This branch provides a starting point for making changes to the clipper code (i.e. replacing IntPoint with Point), without introducing new errors.

To run NUnit tests, install the NUnit extension (Tools > Extensions and Updates...) and then use the Test Explorer to run all tests or individual ones (Test > Windows > Test Explorer).

massonib commented 8 years ago

Just a clarification. Install "NUnit 3 Test Adapter."