How to test a custom math library with Catch2 (while catch2 relies on libm) ?
Open
- Dominant language
- C++
- Stars
- 21.5k
- Forks
- 3.5k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
I'm working on an embedded project where our executable depends on a space qualified math library called libmcs: https://essr.esa.int/project/libmcs-mathematical-library-for-critical-systems
This library is a wrapper around the standard math library to only keep the functions which were certified for space applications.
I'd like to build unit tests for my projet but there are conflicts between the standard math library used by Catch2 and libmcs used by my code.
How do you handle such a situation ?
Is there a mecanism for that in catch2 ?
Contributor guide
Assessment
This issue has not been assessed yet.