100-days-of-rust/Week-06/Day-40_Larrys-Array/day40/tests/example.rs

10 lines
162 B
Rust
Raw Normal View History

2024-09-03 09:26:54 +00:00
#[cfg(test)]
mod example {
use day40::larry_array;
#[test]
fn example() {
assert_eq!(larry_array(vec![1, 6, 5, 2, 4, 3]), Ok(true));
}
}