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

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