diff options
Diffstat (limited to 'protocol/src/simple_bots.rs')
-rw-r--r-- | protocol/src/simple_bots.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/src/simple_bots.rs b/protocol/src/simple_bots.rs index 7997418..f5be424 100644 --- a/protocol/src/simple_bots.rs +++ b/protocol/src/simple_bots.rs @@ -16,7 +16,7 @@ mod tests { use super::*; use log::info; use rand::random; - use crate::bridge_engine::{deal, GameState, BiddingState, Bidding, BiddingStatePlayerView}; + use crate::bridge_engine::{BiddingState, Bidding, BiddingStatePlayerView}; #[tokio::test] async fn always_passing_bot_passes() { @@ -25,7 +25,7 @@ mod tests { let player_position = random(); let bidding_state = BiddingState { dealer, - deal: deal(), + deal: random(), bidding: Bidding::new(dealer), }; let player_view = BiddingStatePlayerView::from_bidding_state(&bidding_state, player_position); |