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

Error if assertEqual's epsilon value is invalid #4329

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

puffnfresh
Copy link
Contributor

Without this, you can get a funny error message, such as:

assert failed because 42 != 42: number is not 42

I'm assuming an epsilon of zero is never useful because we're dealing with floating point.

Without this, you can get a funny error message, such as:

    assert failed because 42 != 42: number is not 42

I'm assuming an epsilon of zero is never useful because we're dealing
with floating point.
Copy link

qa-wolf bot commented Oct 27, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Oct 27, 2024 2:20am

@adamchalmers
Copy link
Collaborator

Great suggestion, thank you! Let me get an admin to merge this...

@franknoirot franknoirot merged commit c147b3b into KittyCAD:main Oct 29, 2024
1 check passed
franknoirot pushed a commit that referenced this pull request Oct 29, 2024
@franknoirot franknoirot mentioned this pull request Nov 7, 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.

3 participants