10 lines
160 B
Rust
10 lines
160 B
Rust
|
#[cfg(test)]
|
||
|
mod example {
|
||
|
use day41::socks_match;
|
||
|
|
||
|
#[test]
|
||
|
fn test_example() {
|
||
|
assert_eq!(socks_match(&[1, 2, 1, 2, 1, 3, 2]), 2);
|
||
|
}
|
||
|
}
|