diff options
Diffstat (limited to 'test/ec/utils.py')
| -rw-r--r-- | test/ec/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ec/utils.py b/test/ec/utils.py index 0d0a875..1f32033 100644 --- a/test/ec/utils.py +++ b/test/ec/utils.py @@ -1,6 +1,7 @@ from itertools import product from functools import reduce + def cartesian(*items): for cart in product(*items): yield reduce(lambda x, y: x + y, cart) |
