Skip to content

Commit

Permalink
finish tests3
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-ing committed Jan 14, 2025
1 parent ba9fb0c commit 6c6fcad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/tests/tests3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ mod tests {

#[test]
fn is_true_when_even() {
assert!();
assert!(is_even(2)==true);
}

#[test]
fn is_false_when_odd() {
assert!();
assert!(is_even(3)==false);
}
}

0 comments on commit 6c6fcad

Please sign in to comment.