Skip to content

add equal test method #58

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

Closed
wants to merge 1 commit into from
Closed

Conversation

stevenhua0320
Copy link
Contributor

No description provided.

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

Let's start with a list of behaviors that we want, then we can write the tests. E g., all attributes are the same -> True, any one of the attributes not equal -> False. If any of the attributes are floating points we want to decide on a precision for the equal to hold.

We want the test to fail if a new attribute is added that is not currently handled.

@sbillinge
Copy link
Contributor

Make sure the test fails before it passes so it is good practice to delete or comment out the function and add things back

@stevenhua0320
Copy link
Contributor Author

Closed by #60

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