Merge pull request #1222 from duchonic/patch-1

additional test for fees
This commit is contained in:
liv 2022-10-10 11:29:10 +02:00 committed by GitHub
commit 896b9cea2a
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);
} }
} }