additional test for fees

This commit is contained in:
Duchoud Nicolas 2022-10-04 11:36:18 +02:00 committed by GitHub
parent cade600c91
commit 4749768734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
} }
} }