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

Wrong solution for collection.P05 #35

Open
dmiszkiewicz opened this issue Jan 24, 2015 · 3 comments
Open

Wrong solution for collection.P05 #35

dmiszkiewicz opened this issue Jan 24, 2015 · 3 comments

Comments

@dmiszkiewicz
Copy link
Collaborator

The given solution can't handle situation when List is made from only one element, list contains elements that are not repeated, or if the last element is not repeated.

@jaceklaskowski
Copy link
Owner

Please write a test to prove your thinking (using ScalaCheck - see #34).

@jaceklaskowski
Copy link
Owner

Is this still a valid issue?

@dmiszkiewicz
Copy link
Collaborator Author

Yes it is! My test proof that current solution is wrong. So issue is still valid.

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

No branches or pull requests

2 participants