Example #1
0
 public void CreateWithCollection_WhenDataIsNull_ShouldThrowArgumentNullException(
     IEnumerable <string> valueToSet)
 {
     Assert.Throws <ArgumentNullException>(() => { MyDoublyLinkedList <string> .Create(valueToSet); });
 }
Example #2
0
 public void CreateWithOneArgument_WhenDataIsNull_ShouldThrowArgumentNullException(
     string valueToSet)
 {
     Assert.Throws <ArgumentNullException>(() => { MyDoublyLinkedList <string> .Create(valueToSet); });
 }
Example #3
0
 public override void Create_Arrays(int input)
 {
     actualList = MyDoublyLinkedList <int> .Create(input);
 }
Example #4
0
 public void Create_Arrays(string[] input)
 {
     actualStringList = MyDoublyLinkedList <string> .Create(input);
 }
Example #5
0
        public override void Create_Arrays(int[] input, int[] expected)
        {
            actualList = MyDoublyLinkedList <int> .Create(input);

            expectedList = MyDoublyLinkedList <int> .Create(expected);
        }