Remove `add` method test (#38824)

pull/39491/head
Ty Mick 2020-08-04 17:37:58 -04:00 committed by GitHub
parent fd6f34a801
commit 0642002005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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.