Skip to content

Conversation

@fedefernandez
Copy link
Contributor

This PR adds the Arbitrary section for scalacheck exercises.

Please @franciscodr could you review? Thanks

@dialelo @raulraja thoughts?


implicit lazy val myCharArbitrary = Arbitrary(Gen.oneOf('A', 'E', 'I', 'O', 'U'))

val validChars: Seq[Char] = res0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of validChars? To give a more specific meaning to res0 val?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just to provide more information to the user

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@franciscodr
Copy link

Minor comment. LGTM

@ghost
Copy link

ghost commented Jul 11, 2016

LGTM!

@fedefernandez fedefernandez merged commit c1995eb into master Jul 11, 2016
@fedefernandez fedefernandez deleted the fede-arbitrary-generator branch July 11, 2016 08:43
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