Crate combination_tests

Source

Macrosยง

test_permutations
The macro generates test cases by assigning all given values to each variable. A test is generated for each permutation of given value sets. Each value must be represented by an identifier, because for each variable and value name a module is created. As a result you need to define a costant for each value. For each call to the macro you need to specify:
test_permutations_impl