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

Arithmetic operators for Solution #28

Merged
merged 4 commits into from
Aug 17, 2023
Merged

Arithmetic operators for Solution #28

merged 4 commits into from
Aug 17, 2023

Conversation

rkingsbury
Copy link
Member

Summary

This PR implements arithmetic operations + (for mixing two solutions), * and \ (for scaling the amounts / volumes of Solution by some multiple). It also adds tests and refactors functions.mix() to use the new addition operator.

@rkingsbury rkingsbury merged commit 4531d62 into main Aug 17, 2023
14 checks passed
@rkingsbury rkingsbury deleted the arithmetic branch August 17, 2023 23:26
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.

1 participant