From: Scott Worley Date: Tue, 18 Jul 2023 19:57:01 +0000 (-0700) Subject: Test with momentum_player X-Git-Url: http://git.scottworley.com/pluta-lesnura/commitdiff_plain/a8b780ff43026359620eaaf30c3eaffa01b9e479 Test with momentum_player --- diff --git a/src/lib.rs b/src/lib.rs index 8f7949a..cae3132 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -529,7 +529,7 @@ mod tests { #[test] fn test_game() { for num_players in 1..10 { - let players: Vec<_> = std::iter::from_fn(|| Some(random_player(0.5))) + let players: Vec<_> = std::iter::from_fn(|| Some(momentum_player(random_player(0.5)))) .take(num_players) .collect(); let mut game = Game::default();