Ejemplo n.º 1
0
        public void MaxSizeTest()
        {
            var limitedSizeHand = new Hand(2);
            limitedSizeHand.Add(_card1);
            limitedSizeHand.Add(_card2);
            limitedSizeHand.Add(_card3);

            Assert.Fail("Expected exception was not thrown");
        }
Ejemplo n.º 2
0
 public void GetEnumeratorTest1()
 {
     IEnumerable target = new Hand(); // TODO: Initialize to an appropriate value
     IEnumerator expected = null; // TODO: Initialize to an appropriate value
     IEnumerator actual;
     actual = target.GetEnumerator();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }