]> git.scottworley.com Git - pluta-lesnura/blobdiff - src/lib.rs
Test with momentum_player
[pluta-lesnura] / src / lib.rs
index 8f7949a57de7ea2cb4e343c4b4b7c997d36fec53..cae313283f6ab55cf11f159017530738e3cac327 100644 (file)
@@ -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();