Comment by eru
5 hours ago
Yes. One of the first things you have to do when writing any property based tests, no matter what you actually want to test, is defining your input generators. And once you have those generators, you might as well throw together the "doesn't crash unexpectedly" test together.
That not only tests your code, but also exercises your just written input generators.
No comments yet
Contribute on Hacker News ↗