Skip to content

Commit

Permalink
test: fix link-list class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLY201 committed Jun 14, 2023
1 parent 605e0ba commit 7da708b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perf/sequential-perf/coomon.perf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function testSequentialContainer(container: SequentialContainer<number>, testNum
for (let i = 0; i < testNum; ++i) {
container.push(i);
}
if (container.constructor.name === 'link-list') {
if (container.constructor.name === 'LinkList') {
_testNum = Math.min(testNum, 1000);
}
startTime = Date.now();
Expand All @@ -46,7 +46,7 @@ function testSequentialContainer(container: SequentialContainer<number>, testNum
runTime: endTime - startTime
});

if (container.constructor.name === 'link-list') {
if (container.constructor.name === 'LinkList') {
_testNum = Math.min(testNum, 1000);
}
startTime = Date.now();
Expand Down

0 comments on commit 7da708b

Please sign in to comment.