array.cpp File Reference
Go to the source code of this file.
Classes | |
| class | Test::Array::Iterator |
| Base class for testing iterators More... | |
| class | Test::Array::TestSpace |
| Test space. More... | |
| class | Test::Array::EmptyVector |
| Class for testing construction from empty vectors More... | |
| class | Test::Array::VarArrayIterator |
| Class for testing the VarArray iterator More... | |
| class | Test::Array::VarArgsIterator |
| Class for testing the VarArgs iterator More... | |
| class | Test::Array::ViewArrayIterator |
| Class for testing the ViewArray iterator More... | |
| class | Test::Array::SharedArrayIterator |
| Class for testing the SharedArray iterator More... | |
Namespaces | |
| namespace | Test |
| General test support. | |
| namespace | Test::Array |
| Tests for arrays. | |
Macros | |
| #define | CHECK_TEST(T, M) |
| Check the test result and handle failed test. | |
| #define | START_TEST(T) |
| Start new test. | |
Macro Definition Documentation
◆ CHECK_TEST
| #define CHECK_TEST | ( | T, | |
| M ) |
Value:
do { \
if (opt.log) \
olog << ind(3) << "Check: " << (M) << std::endl; \
if (!(T)) { \
problem = (M); goto failed; \
} \
} while (false)
Check the test result and handle failed test.
