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

fix(calc): add tests for impl Multplier #802

Merged
merged 5 commits into from
Jan 17, 2022
Merged

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Dec 24, 2021

This adds tests for impl Multiplier;

Todo:

  • Github actions test

@TarikGul TarikGul requested a review from a team as a code owner December 24, 2021 18:26

#[test]
fn multiplier_from_spec_name() {
let inner = "500000000";
Copy link
Member

Choose a reason for hiding this comment

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

I'm no fan of calling this inner, what is it multiplier (coefficient)?

fine, it's used widely in this crate....

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea I agree that it's not the most informative naming, and I'd be happy to update it to something more verbose in a follow up PR, but for this PR as you mentioned its probably wise to keep the continuity in the crate.

@TarikGul TarikGul requested a review from a team as a code owner January 14, 2022 20:29
@TarikGul TarikGul merged commit 0a53cbd into master Jan 17, 2022
@TarikGul TarikGul deleted the tarik-calc-fee-tests branch January 17, 2022 14:37
This pull request was closed.
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.

4 participants