예제 #1
0
        public void checkArrayCapacityTestMethod()
        {
            //arrange
            CList <int> storeValueList = new CList <int>();

            storeValueList.count = 55;
            CList <int> noValueList = new CList <int>();

            //act
            bool storeValueResult = storeValueList.CheckArrayCapacity();
            bool noValueResult    = noValueList.CheckArrayCapacity();

            //assert
            Assert.IsTrue(storeValueResult);
            Assert.IsFalse(noValueResult);
        }