You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests for Int64Shrinker follow a different pattern to the examples in the linked article; is this intentional? I.e. the tests shrink 10 into 0, 5, -5, 8, -8, 9, -9; whereas I would have expected 5, -5, 3, -3, 2, -2, 1, -1, 0. That is to say that the test, like Zeno's tortoise, continually advance towards the shunk value but never reach it instead of exponentially decaying towards zero.
Property based tests are great tools to assert properties of an API. Though I haven't done it in Go, this package looks useful.
I'm more curious about the implementation and the algorithm. Do you know any references or papers I could read?
The text was updated successfully, but these errors were encountered: