Skip to content

Commit

Permalink
index instead of n
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed Oct 5, 2021
1 parent 9497718 commit b819243
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/boundingboxcomputation_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ const BoundingBoxComputationTests = {
QUnit.module('BoundingBoxComputation');
test('Point Test', point);
const run = VexFlowTests.runTests;
let n = 1;
quadraticParams.forEach((params /*, index*/) => {
run(`Quadratic Test ${n}`, quadratic, params);
n++;
quadraticParams.forEach((params, index) => {
run(`Quadratic Test ${index}`, quadratic, params);
});
n = 1;
cubicParams.forEach((params /*, index*/) => {
run(`Cubic Test ${n}`, cubic, params);
n++;
cubicParams.forEach((params, index) => {
run(`Cubic Test ${index}`, cubic, params);
});
},
};
Expand Down

0 comments on commit b819243

Please sign in to comment.