Closed mikesiers closed 7 years ago
How to Implement Object Equality Testing Function
Two functions are needed. __eq__() and __ne__(). For more information, see here.
The work in this issue was completed by 14f74e9. It will be added later as part of a pull request.
Prerequisite Issues
Overview of the Issue
The decision tree splitting library chainsaw is using wattle. Something that has been noted during its unit test development is that object equality cannot be performed concisely. This is a fault of wattle. To fix this, wattle needs class equality testing functions for each class.
Tasks to Complete Issue