Exemplo n.º 1
0
        public void Add_AddToPopulatedList_CountShouldIncreaseToEleven()
        {
            CustomListTest <int> test = new CustomListTest <int>();
            int expected = 11;
            int actual;

            test.Count();
            actual = test.Count(11);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void Add_AddToEmptyList_CountShouldIncreaseToFive()
        {
            CustomListTest <int> test = new CustomListTest <int>();
            int expected = 5;
            int actual;

            test.Count(5);
            actual = test.Count;
            Assert.AreEqual(expected, actual);
        }