print package:hedgehog
Run a generator with a random seed and print the outcome, and the
first level of shrinks.
Gen.print (Gen.enum 'a' 'f')
=== Outcome ===
'd'
=== Shrinks ===
'a'
'b'
'c'
Run a generator with a random seed and print the resulting shrink
tree.
Gen.printTree (Gen.enum 'a' 'f')
'd'
├╼'a'
├╼'b'
│ └╼'a'
└╼'c'
├╼'a'
└╼'b'
└╼'a'
This may not terminate when the tree is very large.
Print the shrink tree produced by a generator, for the given size and
seed.
Use
printTree to generate a value from a random seed.
Print the value produced by a generator, and the first level of
shrinks, for the given size and seed.
Use
print to generate a value from a random seed.
Whether to add icons to the start of important output lines or not.