Skip to content

Commit 393e591

Browse files
authored
Update CircularDoublyLinkedList.test.js
1 parent 808d740 commit 393e591

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Data-Structures/Linked-List/test/CircularDoublyLinkedList.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CircularDoublyLinkedList } from '../CircularDoublyLinkedList' // Adjust the import path as needed
22

3-
describe ('CircularDoublyLinkedList', () => {
4-
it ('Check append', () => {
3+
describe('CircularDoublyLinkedList', () => {
4+
it('Check append', () => {
55
const list = new CircularDoublyLinkedList()
66

77
list.append(1)
@@ -11,7 +11,7 @@ describe ('CircularDoublyLinkedList', () => {
1111
expect(list.toString()).toEqual('1 <-> 2')
1212
})
1313

14-
it ('Check insert', () => {
14+
it('Check insert', () => {
1515
const list = new CircularDoublyLinkedList()
1616

1717
list.insert(0, 1)
@@ -21,7 +21,7 @@ describe ('CircularDoublyLinkedList', () => {
2121
expect(list.toString()).toEqual('1 <-> 20')
2222
})
2323

24-
it ('Check removeAt', () => {
24+
it('Check removeAt', () => {
2525
const list = new CircularDoublyLinkedList()
2626

2727
list.append(10)
@@ -35,7 +35,7 @@ describe ('CircularDoublyLinkedList', () => {
3535
expect(list.toString()).toEqual('40')
3636
})
3737

38-
it ('Check print', () => {
38+
it('Check print', () => {
3939
const list = new CircularDoublyLinkedList()
4040

4141
list.append(20)
@@ -44,7 +44,7 @@ describe ('CircularDoublyLinkedList', () => {
4444
}).not.toThrow()
4545
})
4646

47-
it ('Check isEmpty', () => {
47+
it('Check isEmpty', () => {
4848
const list = new CircularDoublyLinkedList()
4949

5050
expect(list.isEmpty()).toEqual(true)

0 commit comments

Comments
 (0)