public void UnitTestMethod_CheckBlackJackForPlayerFail() { BlackJackGameEngine BJEngineObj = new BlackJackGameEngine(); ExpectedResult = false; bool BlackJackStatus = BJEngineObj.CheckBlackJack(19); Assert.AreEqual(BlackJackStatus, ExpectedResult); }
public void UnitTestMethod_CheckBlackJackForPlayerSuccess() { BlackJackGameEngine BJEngineObj = new BlackJackGameEngine(); ExpectedResult = true; bool BlackJackStatus = BJEngineObj.CheckBlackJack(21); Assert.AreEqual(BlackJackStatus, ExpectedResult); }