コード例 #1
0
        public void IsThreeLinkPokersTest()
        {
            PokerGroup PG = new PokerGroup(); // TODO: 初始化为适当的值

            PG.Add(new Poker(PokerNum.P2, PokerColor.红心));
            PG.Add(new Poker(PokerNum.P3, PokerColor.黑桃));
            PG.Add(new Poker(PokerNum.P3, PokerColor.黑桃));
            PG.Add(new Poker(PokerNum.P3, PokerColor.方块));
            bool expected = true; // TODO: 初始化为适当的值
            bool actual;

            actual = DConsole.IsThreeLinkPokers(PG);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }