mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
additional test for fees
This commit is contained in:
parent
cade600c91
commit
4749768734
1 changed files with 1 additions and 0 deletions
|
@ -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