#include <icy/test.h>Inherits:
Test
Test wrapper for standalone test functions.
| Return | Name | Description |
|---|---|---|
std::function< void()> | target |
std::function< void()> target| Return | Name | Description |
|---|---|---|
FunctionTest inline | #### Parameters |
inline
inline FunctionTest(std::function< void()> target, const std::string & name)target Lambda or function to execute as the test body.
name Human-readable test name.
| Return | Name | Description |
|---|---|---|
void | run virtual inline | Called by the TestRunner to run the test. |
virtual inline
virtual inline void run()Called by the TestRunner to run the test.