mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-11 22:20:18 +08:00
Extend DoublyLinkedListNode tests.
This commit is contained in:
@ -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', () => {
|
||||||
|
Reference in New Issue
Block a user