diff --git a/exercises/tests/tests1.rs b/exercises/tests/tests1.rs index b11221f..8ad5d27 100644 --- a/exercises/tests/tests1.rs +++ b/exercises/tests/tests1.rs @@ -10,7 +10,7 @@ mod tests { #[test] fn you_can_assert() { - assert!(); + assert!(true); } } diff --git a/exercises/tests/tests2.rs b/exercises/tests/tests2.rs index 6775d61..ea080b9 100644 --- a/exercises/tests/tests2.rs +++ b/exercises/tests/tests2.rs @@ -6,7 +6,7 @@ mod tests { #[test] fn you_can_assert_eq() { - assert_eq!(); + assert_eq!(true, true); } } diff --git a/exercises/tests/tests3.rs b/exercises/tests/tests3.rs index e10d2aa..737dc9a 100644 --- a/exercises/tests/tests3.rs +++ b/exercises/tests/tests3.rs @@ -13,7 +13,11 @@ mod tests { #[test] fn is_true_when_even() { - assert!(); + assert!(is_even(42)); + } + + fn is_false_when_odd() { + assert!(!is_even(69)); } }