public void StraightFlushTest2() { Resolver = new HandResolver(Hand1.Take(5).ToList(), Hand1.Skip(5).ToList()); Resolver.CheckForStraightFlush(); Assert.AreEqual(Hand.StraightFlush, Resolver.BestHand); Assert.AreEqual(5, Resolver.BestHandCards.Count); Assert.AreEqual(0, Resolver.Kickers.Count); Assert.AreEqual(Type.Ace, Resolver.BestHandCards[0].CardType); }
public void StraightFlushTest1() { // No straight flush expected Resolver = new HandResolver(Hand2.Take(5).ToList(), Hand2.Skip(5).ToList()); Resolver.CheckForStraightFlush(); Assert.AreEqual(Hand.None, Resolver.BestHand); Assert.AreEqual(0, Resolver.BestHandCards.Count); Assert.AreEqual(0, Resolver.Kickers.Count); }