OpenVPN 3 Core Library
|
Template specialization for generating arbitrary RedirectGatewayFlagsValues. More...
#include <test_generators.hpp>
Static Public Member Functions | |
static Gen< RedirectGatewayFlagsValues > | arbitrary () |
Generates an arbitrary RedirectGatewayFlagsValues. | |
Template specialization for generating arbitrary RedirectGatewayFlagsValues.
This struct specializes the Arbitrary template for the RedirectGatewayFlagsValues enum. It generates a set of flags by selecting a subset of bit positions to set.
Definition at line 406 of file test_generators.hpp.
|
inlinestatic |
Generates an arbitrary RedirectGatewayFlagsValues.
This function generates an arbitrary value for RedirectGatewayFlagsValues by selecting a subset of bit positions (from 0 to number_of_flags) and setting the corresponding bits in the result.
Definition at line 415 of file test_generators.hpp.