src/parts/update.js
Function _update
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _update(_test, length, heapname, makeHeap, diffname, diff, n) {
const title = `Heap update (${heapname}, ${diffname}, ${n})`;
_test(title, (t) => {
const q = makeHeap(diff);
Function _update
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _update(_test, length, heapname, makeHeap, diffname, diff, n) {