filter Not Materialised
Generates size values, filters the resulting Sequence so that only elements matching not the given predicate remain and creates a new OrderedArgsGenerator based on it.
Return
The resulting OrderedArgsGenerator which generates only values for which the given predicate returns false.
Since
2.0.0
Parameters
which should return false for a given value if it shall be kept in the sequence, otherwise true.
The type of values generated by this OrderedArgsGenerator.
Deprecated (with error)
" Materialising means fixing the undefined/random part of an SemiOrderedArgsGenerator. Normally you do not want to turn an SemiOrderedArgsGenerator into an OrderedArgsGenerator as you basically loose the randomness you added in the first place. If you still want to do this, then use: let { g -> g.generate().take(g.size) }.filterNot(predicate).toList().let(ordered::fromList)
Replace with
let { g -> g.generate().take(g.size) }.filterNot(predicate).toList().let(ordered::fromList)