Example #1
0
        public void Clear_Test_Int()
        {
            var list = new DoubleCircularLinkedList <int> {
                1, 2, 3
            };

            list.Clear();
            Assert.Empty(list);
        }
Example #2
0
        public void Clear_Test()
        {
            var list = new DoubleCircularLinkedList <string> {
                "a", "b", "c"
            };

            list.Clear();
            Assert.Empty(list);
        }