Skip to content

Commit 8051f94

Browse files
committed
doc update
1 parent f2fd2ed commit 8051f94

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* https://zio.dev/reference/test/aspects/
88
* https://zio.dev/reference/test/property-testing/
99
* https://www.zionomicon.com
10+
* https://github.com/adamgfraser/0-to-100-with-zio-test
1011

1112
## test aspects
1213
* example
@@ -215,6 +216,12 @@
215216
* map to transform a generator to generate only even integers we are guaranteed that the shrinkings will also contain only even integers.
216217

217218
## 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
218225
* in TestRandom
219226
```
220227
/**

0 commit comments

Comments
 (0)