13 lines
215 B
Rust
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)]
|
||
|
);
|
||
|
}
|
||
|
}
|