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

@josharian josharian commented Aug 2, 2014

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

@osocurioso osocurioso commented Apr 28, 2015

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

Loading

@minux
Copy link
Member

@minux minux commented Apr 29, 2015

Loading

@nightlyone
Copy link
Contributor

@nightlyone nightlyone commented May 3, 2015

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

Loading

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

Successfully merging a pull request may close this issue.

None yet
6 participants