catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add missing struct Template_Fixture_2 so that the example compiles.
- Commit
8cd58f75ec78275e4e51dd97655adee84470c916- Author
- Clare Macrae ·
- Committer
- Martin Hořeňovský
- Parents
d5a69cd40052
Changes
docs/test-fixtures.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/test-fixtures.md b/docs/test-fixtures.md index 5a3f877b..baed1676 100644 --- a/docs/test-fixtures.md +++ b/docs/test-fixtures.md @@ -100,6 +100,13 @@ TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG bas REQUIRE(Nttp_Fixture<V>::value > 0); } +template<typename T> +struct Template_Fixture_2 { + Template_Fixture_2() {} + + T m_a; +}; + template< typename T, size_t V> struct Template_Foo_2 { size_t size() { return V; }