GRTLCollaboration / GRTeclyn

Port of GRChombo to AMReX - under development!
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Tests: Switch from Catch2 to doctest #49

Closed mirenradia closed 3 months ago

mirenradia commented 3 months ago

This PR switches the unit testing framework from Catch2 to doctest which is a single header library and faster to compile than Catch2 (though a bit less feature rich). There is also an MPI extension which we might want to investigate using in the future.

The README has been updated and provides documentation on how this works. Note that we no longer have to deal with git submodules and the doctest header is included directly in this repo.

This resolves #47 and fixes #48. Unfortunately #46 is not fixed by this (except when built with DEBUG=TRUE) so we'll leave that open for now.