This function is equivalent to test(name, body), except that it is
better suited for randomized testing: it will create a Random
generator and pass it to the test body, but also record the seed
that was used for creating the random generator. Thus, if a test
fails for a specific rare seed, it would be easy to reproduce this
failure.
This function is equivalent to testWidgets(name, body), except that
it is better suited for randomized testing: it will create a Random
generator and pass it to the test body, but also record the seed
that was used for creating the random generator. Thus, if a test
fails for a specific rare seed, it would be easy to reproduce this
failure.