mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-07-15 01:24:27 +02:00
additional test for fees
This commit is contained in:
@ -78,5 +78,6 @@ mod tests {
|
|||||||
let package = Package::new(sender_country, recipient_country, 1500);
|
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), 4500);
|
||||||
|
assert_eq!(package.get_fees(cents_per_gram*2), 9000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user