Skip to content

Commit

Permalink
Merge pull request rust-lang#1222 from duchonic/patch-1
Browse files Browse the repository at this point in the history
additional test for fees
  • Loading branch information
shadows-withal authored Oct 10, 2022
2 parents cade600 + 76392d8 commit 896b9ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exercises/structs/structs3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ mod tests {
let package = Package::new(sender_country, recipient_country, 1500);

assert_eq!(package.get_fees(cents_per_gram), 4500);
assert_eq!(package.get_fees(cents_per_gram * 2), 9000);
}
}

0 comments on commit 896b9ce

Please sign in to comment.