100-days-of-rust/Week-09/Day-60_A-Game-Of-Thrones/day60/tests/example.rs

13 lines
215 B
Rust

#[cfg(test)]
mod example {
use day60::game_of_trees;
#[test]
fn example() {
assert_eq!(
game_of_trees(100),
vec![(100, -1), (33, 0), (11, 1), (4, -1)]
);
}
}