openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
699 stars 444 forks source link

Replace math function unit tests in Python with C++ tests #2943

Open paulromano opened 3 weeks ago

paulromano commented 3 weeks ago

Description

We have a few functions on the C++ side that have associated unit tests in Python (see tests/unit_tests/test_math.py) that predate our use of Catch2 for C++ unit tests. These should ideally be moved to C++ unit tests, which would obviate the need to have Python bindings for them exposed through openmc.lib.