fix linting
This commit is contained in:
parent
d04679819d
commit
9b96d5748b
@ -5,7 +5,7 @@ import ProgressBar from "progress";
|
|||||||
let data = fs.readFileSync("./tests/tests.json");
|
let data = fs.readFileSync("./tests/tests.json");
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
const sequences = fs.readFileSync("./tests/sequences").toString().split("\n");
|
const sequences = fs.readFileSync("./tests/sequences").toString().split("\n");
|
||||||
//const total = sequences.length;
|
// const total = sequences.length;
|
||||||
const total = 500; // skip the later tests because of memory usage
|
const total = 500; // skip the later tests because of memory usage
|
||||||
|
|
||||||
for (const test_name of Object.keys(data)) {
|
for (const test_name of Object.keys(data)) {
|
||||||
@ -28,4 +28,4 @@ for (const test_name of Object.keys(data)) {
|
|||||||
bar.tick();
|
bar.tick();
|
||||||
}
|
}
|
||||||
console.log(`correct: ${correct}\ntotal: ${total / 2}\n`);
|
console.log(`correct: ${correct}\ntotal: ${total / 2}\n`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user