Lines Matching defs:Test
48 /** Value to test with a title.
51 * values and run the test for each of them.
59 * Each Test MUST specify a unique title, Ie all titles of a Tests MUST
64 struct Test
70 /** Use a vector to represent a collection of test input.
74 * for (auto &test : Tests<std::string>{
75 * // ^~~~~~~~~~~ Test parameter type
77 * //^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Test parameters
81 * // ^~~~~~~~~~~ Value to test
82 * SECTION("Testing: " + test.title) {
84 * test.payload //< value to test
85 * REQUIRE(getTag() != test.payload); // Example
95 * If a new test vector needs to support move, define:
97 * using MovableTests = Test<value>[];
101 * using MovableTests = Test<value>[size];
103 * all move only test vector will need to specify their size
109 using Tests = std::vector<Test<Value>>;