|
Hegel 0.18.3
Property-based testing for C++
|
Arguments for the Rule constructor. More...
#include <stateful.h>
Public Attributes | |
| std::string | name |
| The name of the rule. | |
| double | weight = 1.0 |
| std::function< void(TestCase &, T &)> | step |
| The function the rule applies. See Rule. | |
Arguments for the Rule constructor.
| T | The state-machine type the rule acts on |
| double hegel::stateful::RuleParams< T >::weight = 1.0 |
A hint for how often to choose the rule, relative to the other rules. The engine rejects a weight that is not finite and positive.