12 lines
164 B
Rust
12 lines
164 B
Rust
use day15::is_anagram;
|
|
|
|
#[test]
|
|
fn example1() {
|
|
assert!(is_anagram("anagram", "nagaram"));
|
|
}
|
|
|
|
#[test]
|
|
fn example2() {
|
|
assert!(!is_anagram("rat", "car"));
|
|
}
|