Complete test1
This commit is contained in:
parent
b5e81a915b
commit
9290bde71a
|
@ -10,6 +10,10 @@
|
|||
// Put your function here!
|
||||
// fn ..... {
|
||||
|
||||
fn calculate_price(order: i32) -> i32 {
|
||||
if order <= 40 { order * 2 } else { order }
|
||||
}
|
||||
|
||||
// Don't modify this function!
|
||||
#[test]
|
||||
fn verify_test() {
|
||||
|
|
Loading…
Reference in a new issue