示例#1
0
        public void CorrectBetTest()
        {
            var bot = new CautiousBot(900);

            Assert.IsNotNull(bot.MakeBets());

            Assert.Pass();
        }
示例#2
0
        public void BettingTest()
        {
            var bot = new CautiousBot(900);

            bot.TakeMoney(299);

            Assert.AreNotEqual(0, bot.MakeBets().Count);

            Assert.Pass();
        }
示例#3
0
        public void StopPlayingWhen67MoneyLeftTest()
        {
            var bot = new CautiousBot(900);

            bot.TakeMoney(301);

            Assert.AreEqual(0, bot.MakeBets().Count);

            Assert.Pass();
        }