| 61 | |
| 62 | template<typename T> |
| 63 | bool templated_tests(T t) { |
| 64 | int a = 3; |
| 65 | REQUIRE(a == t); |
| 66 | CHECK(a == t); |
| 67 | REQUIRE_THROWS(throws_int(true)); |
| 68 | CHECK_THROWS_AS(throws_int(true), int); |
| 69 | REQUIRE_NOTHROW(throws_int(false)); |
| 70 | REQUIRE_THAT("aaa", Catch::Matchers::EndsWith("aaa")); |
| 71 | return true; |
| 72 | } |
| 73 | |
| 74 | struct A {}; |
| 75 |
nothing calls this directly
no test coverage detected