diff options
| author | Sanjay K <sanjaykdragon@users.noreply.github.com> | 2020-05-19 12:47:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-19 18:47:44 +0200 |
| commit | 010a04569282149cea7f7a76fc4d7f4c9f0f08dd (patch) | |
| tree | c1c563b177e1207be2225a70c67c5d0a4d0ccf15 /exercises/test1.rs | |
| parent | 51666609f1087231701c1dffe79420414f0beeb3 (diff) | |
feat: renames test to quiz, fixes #244
BREAKING CHANGE
* changed test to quiz: fixes issues in #244
* fixed info.toml: #244
* fixed naming related issues
Diffstat (limited to 'exercises/test1.rs')
| -rw-r--r-- | exercises/test1.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/exercises/test1.rs b/exercises/test1.rs deleted file mode 100644 index 8b5b8fd..0000000 --- a/exercises/test1.rs +++ /dev/null @@ -1,23 +0,0 @@ -// test1.rs -// This is a test for the following sections: -// - Variables -// - Functions - -// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy -// more than 40 at once, each apple only costs 1! Write a function that calculates -// the price of an order of apples given the order amount. No hints this time! - -// I AM NOT DONE - -// Put your function here! -// fn ..... { - -// Don't modify this function! -#[test] -fn verify_test() { - let price1 = calculate_apple_price(35); - let price2 = calculate_apple_price(65); - - assert_eq!(70, price1); - assert_eq!(65, price2); -} |
