Example #1
0
 public void TargetedActionTest()
 {
     TwoForYouCard target = new TwoForYouCard(); // TODO: Initialize to an appropriate value
     TwoServerWindow twoServer = null; // TODO: Initialize to an appropriate value
     string[] args = null; // TODO: Initialize to an appropriate value
     target.TargetedAction(twoServer, args);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #2
0
 public void ExecuteTest()
 {
     TwoForYouCard target = new TwoForYouCard(); // TODO: Initialize to an appropriate value
     TwoServerWindow twoServer = null; // TODO: Initialize to an appropriate value
     Player player = null; // TODO: Initialize to an appropriate value
     string[] cardArgs = null; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.Execute(twoServer, player, cardArgs);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #3
0
        /// <summary> 
        /// Returns a set of number cards for deck creation
        /// </summary> 
        public List<Card> GetNumberCards()
        {
            List<Card> cardList = new List<Card>();
            for (int i = 0; i < 4; i++)
            {
                string colour = "";
                switch (i)
                {
                    case 0:
                        colour = "Red";
                        break;
                    case 1:
                        colour = "Blue";
                        break;
                    case 2:
                        colour = "Yellow";
                        break;
                    case 3:
                        colour = "Green";
                        break;
                }

                for (int n = 0; n < 6; n++) //can be up to 9
                {
                    Card c;
                    switch( n )
                    {
                        case 0:
                            c = new MooseCard();
                            break;
                        case 2:
                            c = new TwoForYouCard();
                            break;
                        default:
                            c = new Card();
                            break;
                    }
                    c.Name = colour + " " + n;
                    c.SortValue = double.Parse(i + ".0" + n);
                    c.Types.Add(colour);
                    c.Types.Add(n.ToString());
                    cardList.Add(c);
                }
            }
            return cardList;
        }
Example #4
0
 public void TwoForYouCardConstructorTest()
 {
     TwoForYouCard target = new TwoForYouCard();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }