Remove `add` method test (#38824)
parent
fd6f34a801
commit
0642002005
|
@ -23,8 +23,6 @@ Let's create one more method for our doubly linked list called reverse which rev
|
|||
tests:
|
||||
- text: The DoublyLinkedList data structure should exist.
|
||||
testString: assert((function() { var test = false; if (typeof DoublyLinkedList !== 'undefined') { test = new DoublyLinkedList() }; return (typeof test == 'object')})());
|
||||
- text: The DoublyLinkedList should have a method called add.
|
||||
testString: assert((function() { var test = false; if (typeof DoublyLinkedList !== 'undefined') { test = new DoublyLinkedList() }; if (test.add == undefined) { return false; }; return (typeof test.add == 'function')})());
|
||||
- text: The DoublyLinkedList should have a method called reverse.
|
||||
testString: assert((function() { var test = false; if (typeof DoublyLinkedList !== 'undefined') { test = new DoublyLinkedList() }; if (test.reverse == undefined) { return false; }; return (typeof test.reverse == 'function')})());
|
||||
- text: Reversing an empty list should return null.
|
||||
|
|
Loading…
Reference in New Issue