We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e60a35 commit 1400495Copy full SHA for 1400495
src/resonanceReconstruction/rmatrix/test/CMakeLists.txt
@@ -1,3 +1 @@
1
-add_executable( resonanceReconstruction.rmatrix.test rmatrix.test.cpp )
2
-target_link_libraries( resonanceReconstruction.rmatrix.test PUBLIC resonanceReconstruction )
3
-add_test( NAME resonanceReconstruction.rmatrix COMMAND resonanceReconstruction.rmatrix.test )
+add_cpp_test( rmatrix rmatrix.test.cpp )
src/resonanceReconstruction/rmatrix/test/rmatrix.test.cpp
@@ -1,6 +1,9 @@
-#define CATCH_CONFIG_MAIN
+// include Catch2
+#include <catch2/catch_test_macros.hpp>
+#include <catch2/catch_approx.hpp>
4
+using Catch::Approx;
5
-#include "catch.hpp"
6
+// what we are testing
7
#include "resonanceReconstruction/rmatrix.hpp"
8
9
using namespace njoy::resonanceReconstruction;
0 commit comments