mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
parent
aaad60d07e
commit
89d5186c0d
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
||||||
// Don't modify this function!
|
// Don't modify this function!
|
||||||
#[test]
|
#[test]
|
||||||
fn verify_test() {
|
fn verify_test() {
|
||||||
let price1 = calculateprice(55);
|
let price1 = calculate_price(55);
|
||||||
let price2 = calculateprice(40);
|
let price2 = calculate_price(40);
|
||||||
|
|
||||||
assert_eq!(price1, 55);
|
assert_eq!(price1, 55);
|
||||||
assert_eq!(price2, 80);
|
assert_eq!(price2, 80);
|
||||||
|
|
Loading…
Reference in a new issue