-
Notifications
You must be signed in to change notification settings - Fork 4
Unit Tests
Cory edited this page Apr 8, 2022
·
4 revisions
The purpose of the unit tests are twofold:
- Ensure proper installation.
- Regression testing. the second being most important.
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.