-
Notifications
You must be signed in to change notification settings - Fork 951
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
Implement __eq__ method for Cell
#1063
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi thank you for this pr.
I notice you added a test but I don't see the test cassette. Did you record your test ? Does it run successfully?
I notice your PR does not pass the CI, you can follow the contribution guidelines (can be found at the bottom bof the readme of the repo) you'll find all you need to contribute and make your PR pass the CI
Hi @lavigne958! Yes, I've recorded my test but didn't provide the cassete, sorry. Regarding this I've a couple of questions:
Let me check the CI and fix whatever is broken (weird, since I ran all the checks locally and were ok). |
you can find a |
As suggested in #1061, the code included in this PR implements the
__eq__
method forCell
class.This way, it will be possible to compare two
Cell
instances (cell_1 == cell_2
).Two cell instances are considered "equal" when they represent the cell at the same
row
andcol
and contain the samevalue
.This feature is particullary useful for testing purposes.
closes #1061