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

Update tests to use assert_allclose #710

Draft
wants to merge 1 commit into
base: protos
Choose a base branch
from
Draft

Conversation

ChiCheng45
Copy link
Collaborator

@ChiCheng45 ChiCheng45 commented Mar 6, 2025

Description of work
Update array test to use assert_allclose. A lot of tests used assert_array_almost_equal, which only checks if abs(desired-actual) < 1.5 * 10**(-decimal) where decimal=6 this is not good when checking values that are small.

To test
Test must pass

@oerc0122
Copy link
Collaborator

oerc0122 commented Mar 6, 2025

Suggest we rebase this onto #687 ?

@ChiCheng45
Copy link
Collaborator Author

Suggest we rebase this onto #687 ?

Yeah could do. Maybe we should fix this branch first?

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