From a8b780ff43026359620eaaf30c3eaffa01b9e479 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 18 Jul 2023 12:57:01 -0700 Subject: [PATCH 1/1] Test with momentum_player --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.44.1