mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
Fix quiz1
I can't believe this... **40 or more**
This commit is contained in:
parent
5a03e46d69
commit
2177e3e1f9
@ -17,10 +17,12 @@
|
||||
#[test]
|
||||
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 price2 = calculate_price_of_apples(39);
|
||||
let price3 = calculate_price_of_apples(40);
|
||||
let price4 = calculate_price_of_apples(65);
|
||||
|
||||
assert_eq!(70, price1);
|
||||
assert_eq!(80, price2);
|
||||
assert_eq!(65, price3);
|
||||
assert_eq!(78, price2);
|
||||
assert_eq!(40, price3);
|
||||
assert_eq!(65, price4);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user