Add missing struct Template_Fixture_2 so that the example compiles.

Code copied from projects/SelfTest/UsageTests/Class.tests.cpp
This commit is contained in:
Clare Macrae 2019-07-21 20:47:10 +01:00 committed by Martin Hořeňovský
parent d5a69cd400
commit 8cd58f75ec

View File

@ -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; }