Defines the expected "result" of a unit test scenario.
More...
#include <ut.hpp>
|
template<typename FUNC > |
constexpr ut_then & | operator= (FUNC &&func) noexcept |
| Executes a lambda function as the body of the "then" portion of the scenario. More...
|
|
Defines the expected "result" of a unit test scenario.
◆ operator=()
template<typename FUNC >
constexpr ut_then& bsl::ut_then::operator= |
( |
FUNC && |
func | ) |
|
|
inlinenoexcept |
Executes a lambda function as the body of the "then" portion of the scenario.
- Template Parameters
-
FUNC | the type of lambda being executed |
- Parameters
-
func | the lambda being executed |
- Returns
- Returns a reference to the ut_then.
The documentation for this class was generated from the following file: