matlab.unittest.internal.parameters.ExhaustiveCombination
- : ExhaustiveCombination ¶
Cartesian product (exhaustive) combination of unittest parameters.
strategy = matlab.unittest.internal.parameters.ExhaustiveCombination (); p1 = matlab.unittest.parameters.Parameter.fromData ("a", {1, 2}); p2 = matlab.unittest.parameters.Parameter.fromData ("b", {ẍ", ÿ"}); combos = strategy.combine ({p1, p2}); % 4 combinations