Home Manual Reference Source Test Repository

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 ,
  }
) ;

NPM license NPM version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Documentation

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.

Binary and binomial heap reference