Beispiel #1
0
 private void ConstructorTest(ABot bot)
 {
     Assert.IsTrue(bot.IsWantNextGame);
     Assert.IsTrue(bot.CountGames == 0);
     Assert.IsTrue(bot.Money == exampleStartMoney);
     Assert.IsTrue(bot.Rate == exampleStartRate);
     Assert.IsNotNull(bot.CardsInHand);
 }
Beispiel #2
0
 public Game(ABot bot)
 {
     Bot    = bot;
     Dealer = new Dealer();
 }