Exemplo n.º 1
0
        public void BonusTileCanBelongToSameGroupTest_ThreeDistinctTilesOfDifferentSuits_IsFalse()
        {
            var tileA = new BonusTile(Suit.Season, 1, "Spring");
            var tileB = new BonusTile(Suit.Flower, 1, "Plum Blossom");

            Assert.IsFalse(tileA.CanBelongToSameGroup(tileB));
        }
Exemplo n.º 2
0
        public void BonusTileCanBelongToSameGroupTest_TwoIdenticalTiles_IsFalse()
        {
            var tileA = new BonusTile(Suit.Season, 1, "Spring");
            var tileB = new BonusTile(Suit.Season, 1, "Spring");

            Assert.IsFalse(tileA.CanBelongToSameGroup(tileB));
        }
Exemplo n.º 3
0
        public void BonusTileCanBelongToSameGroupTest_TwoDistinctTiles_IsFalse()
        {
            var tileA = new BonusTile(Suit.Season, 1, "Spring");
            var tileB = new BonusTile(Suit.Season, 2, "Summer");

            Assert.IsFalse(tileA.CanBelongToSameGroup(tileB));
        }