10 lines
180 B
Rust
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));
|
||
|
}
|
||
|
}
|