Defines the initial state of a unit test scenario including the creation of any objects that might participate in the unit test.
More...
#include <ut.hpp>
|
template<typename FUNC > |
constexpr ut_given & | operator= (FUNC &&func) noexcept |
| Executes a lambda function as the body of the "given" portion of the scenario. More...
|
|
Defines the initial state of a unit test scenario including the creation of any objects that might participate in the unit test.
◆ operator=()
template<typename FUNC >
constexpr ut_given& bsl::ut_given::operator= |
( |
FUNC && |
func | ) |
|
|
inlinenoexcept |
Executes a lambda function as the body of the "given" 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_given.
The documentation for this class was generated from the following file: