public void Test_StraightFlush_CreateInstance(string strCards, bool isValid)
        {
            var cards         = Utils.ParseCards(strCards);
            var straightFlush = StraightFlush.CreateInstance(cards);

            CreateInstanceHelper(straightFlush, HandRanks.StraightFlush, cards, isValid);
        }
        public void Test_StraightFlush_EqualityOperators(string strStraightFlushOne, string strStraightFlushTwo, bool areEqual)
        {
            var cardsA = Utils.ParseCards(strStraightFlushOne);
            var cardsB = Utils.ParseCards(strStraightFlushTwo);

            var straightFlushOne = StraightFlush.CreateInstance(cardsA);
            var straightFlushTwo = StraightFlush.CreateInstance(cardsB);

            EqualityOperatorsHelper(straightFlushOne, straightFlushTwo, areEqual);
        }
        public void Test_StraightFlush_ComparableTests(string strInputA, string strInputB, int comp)
        {
            var cardsA = Utils.ParseCards(strInputA);
            var cardsB = Utils.ParseCards(strInputB);

            var straightFlushOne = StraightFlush.CreateInstance(cardsA);
            var straightFlushTwo = StraightFlush.CreateInstance(cardsB);

            ComparableTestsHelper(straightFlushOne, straightFlushTwo, comp);
        }
        public void Test_StraightFlush_EqualityOperators_ForNull()
        {
            var cards        = Utils.ParseCards("4H 5H 6H 7H 8H");
            var straintFlush = StraightFlush.CreateInstance(cards);

            Assert.False(straintFlush.Equals(null));

            Assert.True((StraightFlush)null == (StraightFlush)null);
            Assert.False((StraightFlush)null == straintFlush);
            Assert.False(straintFlush == (StraightFlush)null);

            Assert.False((StraightFlush)null != (StraightFlush)null);
            Assert.True((StraightFlush)null != straintFlush);
            Assert.True(straintFlush != (StraightFlush)null);
        }