Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"EventuallyRing is a Ring when we always convert" fails ringLaws #598

Open
sritchie opened this issue Dec 3, 2016 · 2 comments
Open

"EventuallyRing is a Ring when we always convert" fails ringLaws #598

sritchie opened this issue Dec 3, 2016 · 2 comments
Assignees
Labels

Comments

@sritchie
Copy link
Collaborator

sritchie commented Dec 3, 2016

EventuallyTest.scala has a note about how we need a ringLawsEquiv... well, we have this now and the tests fail sporadically.

https://github.com/twitter/algebird/pull/595/files#diff-3c8c583e075d65c668b6886111780911L31

For example:

[info]     Falsified after 6 successful property evaluations.
[info]     Location: (CheckProperties.scala:12)
[info]     Occurred when passed generated values (
[info]       arg0 = <function1>,
[info]       arg1 = Right(7464),
[info]       arg2 = Right(7426),
[info]       arg3 = Right(2542)
[info]     )
[info]     Label of failing property:
[info]       timesIsAssociative

It's set to monoidLaws for now. We should investigate!

@sritchie sritchie added the bug label Dec 3, 2016
@sritchie sritchie changed the title "EventuallyRing is a Ring when we always convert" should pass ringLaws "EventuallyRing is a Ring when we always convert" fails ringLaws Dec 3, 2016
@johnynek
Copy link
Collaborator

johnynek commented Dec 3, 2016 via email

@sritchie
Copy link
Collaborator Author

👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants