scsl 1.0.1
Shimmering Clarity Standard Library
|
UnitTest describes a single unit test. More...
#include <SimpleSuite.h>
Public Attributes | |
std::string | name |
What name should be shown when running tests? | |
std::function< bool()> | test |
This is the test function to be run. | |
bool | expect |
This is the value the test returns if it passes. | |
UnitTest describes a single unit test.
It is a predicate: did the test pass?
bool sctest::UnitTest::expect |
This is the value the test returns if it passes.
std::string sctest::UnitTest::name |
What name should be shown when running tests?
std::function<bool()> sctest::UnitTest::test |
This is the test function to be run.