verifyAllCombinations static method

void verifyAllCombinations(
  1. List<List> inputSets,
  2. void testFunction(
    1. Iterable<List> list
    )
)

Executes tests on all combinations of given input sets.

Implementation

static void verifyAllCombinations(List<List<dynamic>> inputSets, void Function(Iterable<List> list) testFunction) {
  Iterable<List> combinations = _cartesianProduct(inputSets);
  testFunction.call(combinations);
}