17 lines
189 B
Rust
17 lines
189 B
Rust
|
use day16::nim_winner;
|
||
|
|
||
|
#[test]
|
||
|
fn example1() {
|
||
|
assert!(!nim_winner(4));
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn example2() {
|
||
|
assert!(nim_winner(1));
|
||
|
}
|
||
|
|
||
|
#[test]
|
||
|
fn example3() {
|
||
|
assert!(nim_winner(2));
|
||
|
}
|