Class documentation of Concepts

Loading...
Searching...
No Matches
testTest.hh
Go to the documentation of this file.
1
6#ifndef testTest_hh
7#define testTest_hh
8
9#include "basics/testcase.hh"
10
11namespace test {
12
16 class ToTest : public TestCase {
17 public:
18 virtual ~ToTest() {}
19
20 virtual void run() {
21 testit();
22 }
23
25
26 void testit() {
27 _test(true);
28 _succeed();
29 }
31 };
32
33} // namespace test
34
35#endif // testTest_hh
void _succeed()
Explicitly succeds a test.
Definition testcase.hh:112
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Definition testTest.hh:20
#define _test(cond)
Tests if cond is true (test passed) or not (test failed)
Definition testcase.hh:76