2021-09-20 15:38:42 +02:00
|
|
|
=== Highlighting
|
|
|
|
|
2024-03-29 17:40:04 +00:00
|
|
|
When the random number generator's output **is not** predictable by default:
|
2021-09-20 15:38:42 +02:00
|
|
|
|
2024-05-29 17:47:42 +02:00
|
|
|
* The most recent function call that sets a seed. For example:
|
|
|
|
- The factory method that returns the RNG, where the seed is passed as a parameter.
|
|
|
|
- The RNG constructor, where the seed is a parameter.
|
|
|
|
- The function call on the RNG that sets the seed.
|
2024-03-29 17:40:04 +00:00
|
|
|
|
|
|
|
When the random number generator's output **is** predictable by default:
|
|
|
|
|
2024-05-29 17:47:42 +02:00
|
|
|
* The function call on the RNG that returns a random value.
|
|
|
|
|
|
|
|
If the factory method or constructor is not already highlighted, it should become
|
|
|
|
a secondary highlight.
|