diff options
| author | liv <liv@fastmail.com> | 2019-01-23 20:48:01 +0100 |
|---|---|---|
| committer | liv <liv@fastmail.com> | 2019-01-23 20:48:01 +0100 |
| commit | dc1f3b79f8b528659e39057ac733d07e1051bc4d (patch) | |
| tree | 5461c32ea18c38e89ac96d9baba3d7ea4b2ac9f3 /exercises/tests/tests3.rs | |
| parent | 141db7795b23d066a2b7c798d16c96ff53aa5a52 (diff) | |
add tests; refactor exercise links
Diffstat (limited to 'exercises/tests/tests3.rs')
| -rwxr-xr-x | exercises/tests/tests3.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/tests/tests3.rs b/exercises/tests/tests3.rs index e041f38..e10d2aa 100755 --- a/exercises/tests/tests3.rs +++ b/exercises/tests/tests3.rs @@ -1,6 +1,6 @@ // tests3.rs // This test isn't testing our function -- make it do that in such a way that -// the test passes. Then write a second test that tests that we get the result +// the test passes. Then write a second test that tests whether we get the result // we expect to get when we call `is_even(5)`. Scroll down for hints! pub fn is_even(num: i32) -> bool { @@ -13,7 +13,7 @@ mod tests { #[test] fn is_true_when_even() { - assert!(false); + assert!(); } } |
