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

Comments

Projects
None yet
6 participants
@josharian
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

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.

@minux

This comment has been minimized.

Copy link
Member

minux commented Apr 29, 2015

@nightlyone

This comment has been minimized.

Copy link
Contributor

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.