mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
fix(quiz1): add fourth assert
This commit is contained in:
parent
96552e07c2
commit
1d5700e58a
1 changed files with 4 additions and 2 deletions
|
@ -20,9 +20,11 @@
|
|||
fn verify_test() {
|
||||
let price1 = calculate_price_of_apples(35);
|
||||
let price2 = calculate_price_of_apples(40);
|
||||
let price3 = calculate_price_of_apples(65);
|
||||
let price3 = calculate_price_of_apples(41);
|
||||
let price4 = calculate_price_of_apples(65);
|
||||
|
||||
assert_eq!(70, price1);
|
||||
assert_eq!(80, price2);
|
||||
assert_eq!(65, price3);
|
||||
assert_eq!(41, price3);
|
||||
assert_eq!(65, price4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue