You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* map to transform a generator to generate only even integers we are guaranteed that the shrinkings will also contain only even integers.
216
217
217
218
## seed
219
+
* TestRandom service provides a testable implementation of the Random service.
220
+
* works in two modes
221
+
* serves as a purely functional random number generator
222
+
* We can set the seed and generate a value based on that seed
223
+
* The implementation takes care of passing the updated seed through to the next call of the random number generator so we don’t have to deal with it ourselves.
224
+
* second mode, the TestRandom service can be used where we can “feed” it values of a particular type and then subsequent calls to generate values of that type will return the data we fed to i
0 commit comments