Skip to content

Use Relative Error for Equality Comparison in Tests#114

Merged
RyanGlScott merged 3 commits intoekmett:masterfrom
julmb:relative
Jun 3, 2024
Merged

Use Relative Error for Equality Comparison in Tests#114
RyanGlScott merged 3 commits intoekmett:masterfrom
julmb:relative

Conversation

@julmb
Copy link
Copy Markdown
Contributor

@julmb julmb commented May 31, 2024

In order to make the tests more robust, we use relative error for equality comparison instead of absolute error or exact comparison. This should fix #113, but I do not have a x86_64-darwin setup to test this.

I also did some cleanup first, I can split that part off into a separate PR if necessary.

@RyanGlScott
Copy link
Copy Markdown
Collaborator

Thanks, @julmb!

@sternenseemann, would you be able to test this patch on x86_64-darwin to confirm that it passes there?

@RyanGlScott RyanGlScott merged commit fc01c61 into ekmett:master Jun 3, 2024
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.

Fix test suite on x86_64-darwin

2 participants