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

10 lines
160 B
Rust
Raw Normal View History

2024-09-04 08:26:34 +00:00
#[cfg(test)]
mod example {
use day41::socks_match;
#[test]
fn test_example() {
assert_eq!(socks_match(&[1, 2, 1, 2, 1, 3, 2]), 2);
}
}