Skip to content

Commit 1400495

Browse files
committed
forgot a test
1 parent 8e60a35 commit 1400495

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -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 )
1+
add_cpp_test( rmatrix rmatrix.test.cpp )

src/resonanceReconstruction/rmatrix/test/rmatrix.test.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
#define CATCH_CONFIG_MAIN
1+
// include Catch2
2+
#include <catch2/catch_test_macros.hpp>
3+
#include <catch2/catch_approx.hpp>
4+
using Catch::Approx;
25

3-
#include "catch.hpp"
6+
// what we are testing
47
#include "resonanceReconstruction/rmatrix.hpp"
58

69
using namespace njoy::resonanceReconstruction;

0 commit comments

Comments
 (0)