Skip to content

Unit Tests

Cory edited this page Apr 8, 2022 · 4 revisions

Unit Tests

The purpose of the unit tests are twofold:

  1. Ensure proper installation.
  2. Regression testing. the second being most important.

Misc Notes

4/8/2022 (CDG) When implementing OpenMP as part of MachLine, I discovered that the calculated pressure results were dependent upon the order in which wake edges were declared. Digging deeper, I found that this was simply a function of the order in which the wake panel influences were calculated. I assume this has to do with the errors introduced when using floating point arithmetic to compute sums and differences of values having varying orders of magnitude. Because of this, I chose to relax the failure tolerance for the unit tests to 1e-7, rather than 1e-12.

Clone this wiki locally