Skip to content

Commit

Permalink
Merge pull request #736 from maartentibau/quiz1_add_explicit_test_40
Browse files Browse the repository at this point in the history
chore: Update quiz1.rs add explicit test for 40
  • Loading branch information
shadows-withal authored Apr 27, 2021
2 parents 6b6dc9d + 650b1de commit 91530f5
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 @@ -16,8 +16,10 @@
#[test]
fn verify_test() {
let price1 = calculate_apple_price(35);
let price2 = calculate_apple_price(65);
let price2 = calculate_apple_price(40);
let price3 = calculate_apple_price(65);

assert_eq!(70, price1);
assert_eq!(65, price2);
assert_eq!(80, price2);
assert_eq!(65, price3);
}

0 comments on commit 91530f5

Please sign in to comment.