3 ms·
That's par for the course if you use an actual framework for Property-based Testing. All the ones I've tried certainly do mix in the usual suspects (-1, 0, 1, M
by Quekid5 5y ago
That's par for the course if you use an actual framework for Property-based Testing. All the ones I've tried certainly do mix in the usual suspects (-1, 0, 1, MAX_INT, empty list, etc.) into the randomly sampled data.
The author of this piece probably chose to make the post framework-agnostic by rolling their own random generation, but left that nuance out.