10.0.1 • Published 7 years ago
aureooms-js-heap-spec v10.0.1
js-heap-spec
Heap specification library in JavaScript. Parent is aureooms/js-data-structures.
import ava from 'ava' ;
spec.test(
ava ,
[ [ "DummyHeap" , compare => new spec.DummyHeap(compare) ] ] ,
{
references : true ,
length : true ,
}
) ;
Description
This package contains a specification test suite for heap implementations such as aureooms/js-d-ary-heap, aureooms/js-pairing-heap, and aureooms/js-binomial-heap.