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

add forms for checking lens laws #118

Closed
wants to merge 2 commits into from
Closed

Conversation

AlexKnauth
Copy link
Collaborator

No description provided.

@AlexKnauth
Copy link
Collaborator Author

Apparently 6.1.1 doesn't have support for contract-random-generate for the pair? predicate (6.2.0.4 does).

@jackfirth
Copy link
Owner

I don't think we yet need this as we're only using these tests internally. This would be a really great package though, you should make one for equation fuzz testing.

@AlexKnauth
Copy link
Collaborator Author

Ok. I've never heard of fuzz testing before though.

@jackfirth
Copy link
Owner

It's when you throw a lot of random input to a program to try and get it to crash, usually to look for things like security holes or memory leaks. The general principle applies here though, and it would be very cool to have a package that let you define equations on values and then specify tests on them with random values. Haskell has something like that in QuickCheck

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

Successfully merging this pull request may close these issues.

2 participants