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

10 lines
180 B
Rust
Raw Normal View History

2024-08-31 08:34:25 +00:00
#[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));
}
}