fix(camelCase)
This commit is contained in:
@ -115,13 +115,13 @@ test('erase, clear', () => {
|
||||
}
|
||||
})
|
||||
|
||||
test('push_back, push_front, pop_back, pop_front, back, front', () => {
|
||||
test('pushBack, pushFront, popBack, popFront, back, front', () => {
|
||||
const list = List.from([1, 2, 3])
|
||||
list.pop_front()
|
||||
list.push_front(5)
|
||||
list.pop_back()
|
||||
list.pop_back()
|
||||
list.push_back(10)
|
||||
list.popFront()
|
||||
list.pushFront(5)
|
||||
list.popBack()
|
||||
list.popBack()
|
||||
list.pushBack(10)
|
||||
expect(listEquArray(list, [5, 10])).toBeTruthy()
|
||||
expect(list.front).toEqual(5)
|
||||
expect(list.back).toEqual(10)
|
||||
|
||||
Reference in New Issue
Block a user