Beispiel #1
0
        public void DeleteElementsWithValueTest(int[] array, int value, int[] expectedArray)
        {
            DLinkedList actual   = new DLinkedList(array);
            DLinkedList expected = new DLinkedList(expectedArray);

            actual.DeleteElementsWithValue(value);
            Assert.AreEqual(expected, actual);
        }