Skip to content

Commit 1d5700e

Browse files
fix(quiz1): add fourth assert
1 parent 96552e0 commit 1d5700e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exercises/quiz1.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
fn verify_test() {
2121
let price1 = calculate_price_of_apples(35);
2222
let price2 = calculate_price_of_apples(40);
23-
let price3 = calculate_price_of_apples(65);
23+
let price3 = calculate_price_of_apples(41);
24+
let price4 = calculate_price_of_apples(65);
2425

2526
assert_eq!(70, price1);
2627
assert_eq!(80, price2);
27-
assert_eq!(65, price3);
28+
assert_eq!(41, price3);
29+
assert_eq!(65, price4);
2830
}

0 commit comments

Comments
 (0)