akielaries / openGPMP

Hardware Accelerated General Purpose Mathematics Package
https://akielaries.github.io/openGPMP/
MIT License
8 stars 3 forks source link

Test suite duplication #113

Open akielaries opened 7 months ago

akielaries commented 7 months ago

There is tons of cleanup to be done in the tests/ directory with all of the projects unit test. Several things that are duplicated and could speed up execution/compile time:

  1. macros like TEST_COUT and INFO_COUT are defined again and again
  2. random array and vector generation is done repeatedly in many of the test cases
  3. TOLERANCE is redefined in each file using it

Solve all of this likely creating a simple header and source file for utilities?