Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing/quick: generate NaN and +/-Inf for float and complex parameters #8461

Open
josharian opened this issue Aug 2, 2014 · 3 comments
Open
Milestone

Comments

@josharian
Copy link
Contributor

http://play.golang.org/p/sc5S0sZorl

quick's default generator never produces NaN or +/-Inf. These are commonly-missed edge
cases.
@osocurioso
Copy link
Contributor

Isn't this is a bit tricky to implement without breaking backwards compatibility? Users can implement this functionality today using a custom Generator.

@minux
Copy link
Member

minux commented Apr 29, 2015 via email

@nightlyone
Copy link
Contributor

Maybe adding an example might be enough. I think testing/quick is not used very much, because it lacks documentation "for the common man".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants