Add machi_ap_repair_eqc:sublist()
This commit is contained in:
parent
29c2ede275
commit
2f95305292
1 changed files with 5 additions and 0 deletions
|
@ -218,6 +218,11 @@ sublist(L) ->
|
|||
?LET(L2, eqc_gen:vector(K, eqc_gen:oneof(L)),
|
||||
lists:usort(L2))).
|
||||
|
||||
sublist(L) ->
|
||||
?LET(K, nat(),
|
||||
?LET(L2, eqc_gen:vector(K, eqc_gen:oneof(L)),
|
||||
lists:usort(L2))).
|
||||
|
||||
%% Generator for possibly assymmetric partition information
|
||||
partition(FLUNames) ->
|
||||
frequency([{10, return([])},
|
||||
|
|
Loading…
Reference in a new issue