public void TexasHoldemHand_Discard() { var test = new TexasHoldemHandFactory().ConstructCrappyHand(); var initialCount = test.Count; test.Discard(); test.Discard(); Assert.AreEqual(initialCount - 2, test.Count); }
public void TexasHoldemHand_HighCardIsAce() { var test = new TexasHoldemHandFactory().ConstructCrappyHand(); var expected = new Card(new Suit(SuitNames.SPADE), CardValues.ACE); test.Discard(); test.Add(expected); Assert.AreEqual(expected, test.HighCard); }