From d116b58bd6b0a691fc5f9bbf15954ed7e4f1f366 Mon Sep 17 00:00:00 2001 From: Daniel Bauman Date: Mon, 29 Aug 2022 13:49:19 -0700 Subject: [PATCH] fix: quiz1 - price is cheaper for 40 or more The description says that the discount is for >= 40 but the test for the value of 40 doesn't apply the discount. --- exercises/quiz1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/quiz1.rs b/exercises/quiz1.rs index d1e76e59..9f8f2819 100644 --- a/exercises/quiz1.rs +++ b/exercises/quiz1.rs @@ -21,6 +21,6 @@ fn verify_test() { let price3 = calculate_price_of_apples(65); assert_eq!(70, price1); - assert_eq!(80, price2); + assert_eq!(40, price2); assert_eq!(65, price3); }