mourner / robust-predicates

Fast robust predicates for computational geometry in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better test coverage for orient3d

mourner opened this issue · comments

Current coverage stats (using npm run cov):

  • incircle.js: 28.37%
  • insphere.js: 51.21%
  • orient2d.js: 98.8%
  • orient3d.js: 17.58%
  • util.js: 96.77%

The tests for incircle, insphere and orient3d are pretty basic and don't exercise a lot of the harder cases — it would be great to improve the coverage here. PRs for that are welcome!

After de2d6fd, we have near-100% coverage for everything but orient3d, which is now 20.11% and still needs more difficult tests.