コード例 #1
0
        public void TestTakingExists5()
        {
            var arrangement = new SetOfItems("wc1; bb2;");
            var draught     = new Item("bb21");
            var temp        = new ItemInPlay(draught, arrangement);

            Assert.AreEqual(false, temp.TakingExists());
        }
コード例 #2
0
        public void TestTakingExists7()
        {
            var arrangement = new SetOfItems("wd4; be5;");
            var draught     = new Item("be5");
            var temp        = new ItemInPlay(draught, arrangement);

            Assert.AreEqual(true, temp.TakingExists());
        }