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