100-days-of-rust/Week-06/Day-41_Sales-By-Match/day41/tests/example.rs

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);
}
}