Skip to content

Commit

Permalink
fix(quiz1): add fourth assert
Browse files Browse the repository at this point in the history
  • Loading branch information
shadows-withal authored Sep 6, 2022
1 parent 96552e0 commit 1d5700e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions exercises/quiz1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 1d5700e

Please sign in to comment.