Initial Commit - Forked from PeakRDL-regblock @ a440cc19769069be831d267505da4f3789a26695
This commit is contained in:
7
tests/lib/test_params.py
Normal file
7
tests/lib/test_params.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from itertools import product
|
||||
|
||||
def get_permutations(spec):
|
||||
param_list = []
|
||||
for v in product(*spec.values()):
|
||||
param_list.append(dict(zip(spec, v)))
|
||||
return param_list
|
||||
Reference in New Issue
Block a user