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

add processing for addition in unit strings #298

Merged
merged 7 commits into from
May 27, 2023
Merged

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented May 27, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented May 27, 2023

Codecov Report

Merging #298 (ef72d12) into main (ebe919e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #298   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         4701      4735   +34     
=========================================
+ Hits          4701      4735   +34     

@phlptp phlptp merged commit 88d155f into main May 27, 2023
43 checks passed
@phlptp phlptp deleted the addition_processing branch May 27, 2023 12:59
Comment on lines +1060 to +1061
u1 = unit_from_string("meter + kg");
EXPECT_EQ(u1, precise::m * precise::kg);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this turning addition into multiplication?

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.

None yet

3 participants