diff options
| author | Yvan Sraka <yvan@sraka.pw> | 2019-04-22 00:09:30 +0200 |
|---|---|---|
| committer | Yvan Sraka <yvan@sraka.pw> | 2019-04-22 00:09:30 +0200 |
| commit | a71bc62c29cebec115700d98a61d618e0c7a83b9 (patch) | |
| tree | 4fc9e115213cd7e1707548b94e4f90e909f1e7da /exercises/test2.rs | |
| parent | 4b0b7093e5e0ba2c4b40509c9cb2541eb3a873fe (diff) | |
Add errors to exercises that compile without user changes
Diffstat (limited to 'exercises/test2.rs')
| -rw-r--r-- | exercises/test2.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/exercises/test2.rs b/exercises/test2.rs index 249abbc..75a4739 100644 --- a/exercises/test2.rs +++ b/exercises/test2.rs @@ -17,6 +17,11 @@ mod tests { #[test] fn returns_twice_of_positive_numbers() { - assert_eq!(4, 4); + assert_eq!(times_two(4), ???); + } + + #[test] + fn returns_twice_of_negative_numbers() { + // TODO write an assert for `times_two(-4)` } } |
