Make Catch2 based test compatible with Catch2 v3
For simplicity I implemented the forward/backward compatibility using __has_include
which was introduced C++17, but we only support C++14 via gcc8 which knows __has_include
, so I would not spend more time on this as, at some point, we should drop support for C++14 and Catch2 v2.
Closes #252 (closed)