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

Bug/temp diff #27

Merged
merged 13 commits into from
Aug 8, 2023
Merged

Bug/temp diff #27

merged 13 commits into from
Aug 8, 2023

Conversation

seanpearsonuk
Copy link
Collaborator

@seanpearsonuk seanpearsonuk commented Aug 8, 2023

Addressing bugs in #25

BUG
Garbage input is allowed

>>> v.to("piggy")
Quantity (60.0, "piggy")
>>> v = Quantity(60.0, "chicken")

General fixes around (see tests, new and old (updated)):

  • Incorrect handling of division
  • Incorrect handling of temperature, temperature difference

@seanpearsonuk seanpearsonuk merged commit 2bcb2bc into main Aug 8, 2023
4 checks passed
@acarvalh-work acarvalh-work deleted the bug/temp_diff branch August 15, 2023 14:10
@dnwillia-work dnwillia-work linked an issue Aug 17, 2023 that may be closed by this pull request
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.

Garbage input is allowed.
4 participants