Auto merge of #184 - Jesse-Cameron:master, r=komaeda
fix(test1): renamed function name to snake case addressing a minor function naming convention, see: [RFC #430](https://doc.rust-lang.org/1.0.0/style/style/naming/README.html) closes #180
This commit is contained in:
commit
5e1d7c3076
@ -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);
|
||||||
|
Reference in New Issue
Block a user