1 #pragma once 2 3 #define CATCH_CONFIG_PREFIX_ALL 4 #include <catch.hpp> 5 6 // CATCH_REQUIRE_THROWS is not defined identically to REQUIRE_THROWS and causes 7 // warning; define our own version that doesn't warn. 8 #define _CATCH_REQUIRE_THROWS(...) \ 9 INTERNAL_CATCH_THROWS( \ 10 "CATCH_REQUIRE_THROWS", Catch::ResultDisposition::Normal, __VA_ARGS__) 11