davideberly / GeometricTools

A collection of source code for computing in the fields of mathematics, geometry, graphics, image analysis and physics.
Boost Software License 1.0
1.08k stars 202 forks source link

Testing algorithms implementation #64

Closed radevgit closed 1 year ago

radevgit commented 1 year ago

How are all algorithms tested for correctness? I do not see any tests.

davideberly commented 1 year ago

I have not posted my GTE test environment that includes unit tests, end-to-end tests, several manual tests, and instantiation of template classes and functions to ensure that all compile.

radevgit commented 1 year ago

I understand. It make sense, for such core math library, when the user builds it on a specific hardware/compiler/options environment, to run all the unit test and ensure no test are failing. At leas this is what I have seen on most math libraries. Thanks, for providing this useful set of tools.

davideberly commented 1 year ago

I plan on posting the unit tests for GTL. Thank you for the feedback.