mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +08:00
Extend DoublyLinkedListNode tests.
This commit is contained in:
parent
a9eeea2ca8
commit
6a5ed26bd2
@ -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', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user