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

Money: Implementation simplification and increased unit test coverage #1840

Merged
merged 7 commits into from
Dec 11, 2023

Conversation

PaulXiCao
Copy link
Contributor

The implementation of Money operators were simplified: They use a general compare function.

The unit test coverage was increased (and the previous test were simplified).
I tried not to introduce too many style changes. If these changes are accepted I could also push a commit containing clang-format's style changes regarding those files.

@coveralls
Copy link

coveralls commented Dec 1, 2023

Coverage Status

coverage: 72.094% (+0.07%) from 72.028%
when pulling 1bc5f91 on PaulXiCao:moneyTests
into 1cb2dfc on lballabio:master.

ql/money.cpp Outdated Show resolved Hide resolved
ql/money.cpp Outdated Show resolved Hide resolved
@lballabio lballabio added this to the Release 1.33 milestone Dec 11, 2023
@lballabio lballabio merged commit 86a8fa8 into lballabio:master Dec 11, 2023
49 checks passed
@lballabio
Copy link
Owner

Thanks!

@PaulXiCao PaulXiCao deleted the moneyTests branch December 12, 2023 13:32
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