Beispiel #1
0
        public void Setup()
        {
            m_InfoOne = Substitute.For <IPlayerHandInformation>();
            m_InfoTwo = Substitute.For <IPlayerHandInformation>();
            m_Infos   = new[]
            {
                m_InfoOne,
                m_InfoTwo
            };

            m_Sut = new SecondPairRanking();
        }
Beispiel #2
0
        public void Setup()
        {
            m_InfoOne = Substitute.For <IPlayerHandInformation>();
            m_InfoTwo = Substitute.For <IPlayerHandInformation>();
            m_Infos   = new[]
            {
                m_InfoOne,
                m_InfoTwo
            };

            m_First    = new FirstPairRanking();
            m_Second   = new SecondPairRanking();
            m_HighCard = new HighCardRanking(new RankByCardIndex());

            m_Sut = new TwoPairsRanking(m_First,
                                        m_Second,
                                        m_HighCard);
        }