Ejemplo n.º 1
0
        public void DecksWithDifferentPropsDoNotMatch()
        {
            var deckA = new ConcreteDeck(PlayerClass.HUNTER, GameFormat.STANDARD,
                                         new List <Card>()
            {
                new Card("AB_897", 1)
            }
                                         );
            var deckB = new ConcreteDeck(PlayerClass.DRUID, GameFormat.STANDARD,
                                         new List <Card>()
            {
                new Card("AB_123", 1),
                new Card("AB_456", 2)
            }
                                         );

            Assert.IsFalse(deckA.Matches(deckB));
        }
Ejemplo n.º 2
0
        public void DecksWithSamePropsMatch()
        {
            var deckA = new ConcreteDeck(PlayerClass.DRUID, GameFormat.STANDARD,
                                         new List <Card>()
            {
                new Card("AB_123", 1),
                new Card("AB_456", 2)
            }
                                         );
            var deckB = new ConcreteDeck(PlayerClass.DRUID, GameFormat.STANDARD,
                                         new List <Card>()
            {
                new Card("AB_123", 1),
                new Card("AB_456", 2)
            }
                                         );

            Assert.IsTrue(deckA.Matches(deckB));
        }