Skip to content

Conversation

@mperry
Copy link
Contributor

@mperry mperry commented Jun 5, 2015

Address issue #147

@mperry
Copy link
Contributor Author

mperry commented Jun 5, 2015

@orionll @jbgi Can you look review this PR please?

@orionll
Copy link
Contributor

orionll commented Jun 5, 2015

Everything looks fine.

@jbgi
Copy link
Member

jbgi commented Jun 5, 2015

I think would be more practical if the quickcheck module provides the common Arbitrary instances directly: everyone that use fj would want them.

@orionll
Copy link
Contributor

orionll commented Jun 5, 2015

@jbgi What do you mean by "directly"? There are instances for all core classes (arbInteger, arbList, ...) in the Arbitrary class.

@jbgi
Copy link
Member

jbgi commented Jun 5, 2015

oups you are right.

@jbgi
Copy link
Member

jbgi commented Jun 5, 2015

as for naming, maybe 'laws' would be more explicit than 'props'?

@orionll
Copy link
Contributor

orionll commented Jun 5, 2015

I'm not sure. There are functor laws, monad laws etc. But are there any laws for List, Seq? Can be the equality list.reverse().reverse() == list called a law?

@jbgi
Copy link
Member

jbgi commented Jun 5, 2015

@orionll yes, property is more general than law.
LGTM

mperry added a commit that referenced this pull request Jun 5, 2015
Split quickcheck property testing into separate module to address #147
@mperry mperry merged commit 1ba2f25 into functionaljava:master Jun 5, 2015
@mperry mperry added this to the v4.4 milestone Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants