Пример #1
0
        public void UnitTestMethod_CheckBlackJackForPlayerFail()
        {
            BlackJackGameEngine BJEngineObj = new BlackJackGameEngine();

            ExpectedResult = false;
            bool BlackJackStatus = BJEngineObj.CheckBlackJack(19);

            Assert.AreEqual(BlackJackStatus, ExpectedResult);
        }
Пример #2
0
        public void UnitTestMethod_CheckBlackJackForPlayerSuccess()
        {
            BlackJackGameEngine BJEngineObj = new BlackJackGameEngine();

            ExpectedResult = true;
            bool BlackJackStatus = BJEngineObj.CheckBlackJack(21);

            Assert.AreEqual(BlackJackStatus, ExpectedResult);
        }