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

10 lines
162 B
Rust

#[cfg(test)]
mod example {
use day40::larry_array;
#[test]
fn example() {
assert_eq!(larry_array(vec![1, 6, 5, 2, 4, 3]), Ok(true));
}
}