Extend DoublyLinkedListNode tests.

This commit is contained in:
Oleksii Trekhleb 2018-07-05 15:28:11 +03:00
parent a9eeea2ca8
commit 6a5ed26bd2

View File

@ -6,6 +6,7 @@ describe('DoublyLinkedListNode', () => {
expect(node.value).toBe(1); expect(node.value).toBe(1);
expect(node.next).toBeNull(); expect(node.next).toBeNull();
expect(node.previous).toBeNull();
}); });
it('should create list node with object as a value', () => { it('should create list node with object as a value', () => {