3 ms·
In cases like this we use mock functions to replace the rng dependent functions during testing. https://en.m.wikipedia.org/wiki/Mock_object https://en.m.wikipe
by personjerry 5y ago
In cases like this we use mock functions to replace the rng dependent functions during testing.
https://en.m.wikipedia.org/wiki/Mock_object https://en.m.wikipedia.org/wiki/Mock_object
- deleted 5y ago[deleted]
- muzani 5y agoThis won't catch the procedurally generated edge case though unless it mocks every possible combination. It could well run into millions of scenarios just to test damage.