Exemplo n.º 1
0
        public void SunAbtestnomocknull()
        {
            {
                Player p = new SunQuan(0);

                Attack card = new Attack(CardSuit.Heart, (byte)1);
                p.handCards.Add(card);
                p.abilitySun(null, mocks.Stub <IGame>());
            }
        }
Exemplo n.º 2
0
        public void SunAbtestnomocknull2()
        {
            {
                Player p = new SunQuan(0);

                Attack card = new Attack(CardSuit.Heart, (byte)1);
                p.handCards.Add(card);
                p.abilitySun(new AbilityActionSun(card), null);
            }
        }
Exemplo n.º 3
0
 public void SunAbtestnomock()
 {
     {
         Player p        = new SunQuan(0);
         IGame  fakeGame = mocks.DynamicMock <IGame>();
         Attack card     = new Attack(CardSuit.Heart, (byte)1);
         p.handCards.Add(card);
         List <Card> l = new List <Card>();
         l.Add(card);
         p.abilitySun(new AbilityActionSun(card), new Game(new Player[0], new CardSet(l)));
     }
 }