100-days-of-rust/Week-06/Day-37_Breaking-The-Records/day37/tests/example.rs

10 lines
180 B
Rust

#[cfg(test)]
mod example {
use day37::breaking_records;
#[test]
fn example() {
assert_eq!(breaking_records(&[10, 5, 20, 20, 4, 5, 2, 25, 1]), (2, 4));
}
}