#include #include "METOOLS/Currents/C_Spinor.H" TEST_CASE("Spinor construction", "[spinor]") { ATOOLS::Vec4 v0(0, 0, 0, 0); METOOLS::CSpinor s0(1, 1, 1, v0); REQUIRE(s0.IsZero()); } // ######################################## // for Catch2 v2 use the below code instead /* #include #include "METOOLS/Currents/C_Spinor.H" TEST_CASE("Spinor construction", "[spinor]") { ATOOLS::Vec4 v0(0, 0, 0, 0); METOOLS::CSpinor s0(1, 1, 1, v0); REQUIRE(s0.IsZero()); } */ // and run the following bash line here: /* echo "#define CATCH_CONFIG_MAIN #include " > test_main.C */