public void ValueTest1() { var checkCards = new CardsChecker(); string testCards = "AS, 10C, 10C, KD, 3S"; string[] testCardArray = testCards.ToUpper().Split(','); try { checkCards.VerifySuit(testCardArray); } catch { Assert.Fail(); } }
public void SuitTest2() { var checkCards = new CardsChecker(); string testCards = "AS, 10C, 10C, 3X, 3S"; string[] testCardArray = testCards.ToUpper().Split(','); try { checkCards.VerifySuit(testCardArray); } catch { Assert.Pass(); } }