100-days-of-rust/Week-03/Day-16_Nim-Game/day16/tests/examples.rs

17 lines
189 B
Rust
Raw Normal View History

2024-08-10 09:10:58 +00:00
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));
}