public void StopPlayingWhen67MoneyLeftTest() { var bot = new CautiousBot(900); bot.TakeMoney(301); Assert.AreEqual(0, bot.MakeBets().Count); Assert.Pass(); }
public void BettingTest() { var bot = new CautiousBot(900); bot.TakeMoney(299); Assert.AreNotEqual(0, bot.MakeBets().Count); Assert.Pass(); }
public void TakeAllMoneyTest() { var bot = new CautiousBot(900); Assert.AreEqual(900, bot.Money); Assert.AreEqual(900, bot.TakeMoney(1500)); Assert.AreEqual(0, bot.Money); Assert.Pass(); }