mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-13 21:03:31 +02:00
feat: completed tests
This commit is contained in:
@@ -13,11 +13,12 @@ fn main() {
|
||||
mod tests {
|
||||
// TODO: Import `is_even`. You can use a wildcard to import everything in
|
||||
// the outer module.
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn you_can_assert() {
|
||||
// TODO: Test the function `is_even` with some values.
|
||||
assert!();
|
||||
assert!();
|
||||
assert!(!is_even(1));
|
||||
assert!(is_even(12));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user