mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Merge pull request #1222 from duchonic/patch-1
additional test for fees
This commit is contained in:
commit
896b9cea2a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue