Generalise the test helper 'genUniquesList'
Instead of always using "arbitrary", make it require a generator (that can then use more complex rules for building the list elements), and also convert it to use a temporary set instead of list membership. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- htest/Test/Ganeti/HTools/Container.hs 1 addition, 1 deletionhtest/Test/Ganeti/HTools/Container.hs
- htest/Test/Ganeti/HTools/Types.hs 1 addition, 1 deletionhtest/Test/Ganeti/HTools/Types.hs
- htest/Test/Ganeti/OpCodes.hs 1 addition, 1 deletionhtest/Test/Ganeti/OpCodes.hs
- htest/Test/Ganeti/TestCommon.hs 6 additions, 5 deletionshtest/Test/Ganeti/TestCommon.hs
Please register or sign in to comment