@aureooms/js-heap-specdeprecated

Heap specification code bricks for JavaScript

Usage no npm install needed!

<script type="module">
  import aureoomsJsHeapSpec from 'https://cdn.skypack.dev/@aureooms/js-heap-spec';
</script>

README

js-heap-spec

Heap specification library for JavaScript. Parent is aureooms/js-heap.

import ava from 'ava' ;
spec.test(
  ava ,
  [ [ "DummyHeap" , compare => new spec.DummyHeap(compare) ] ] ,
  {
    references : true ,
    length : true ,
  }
) ;

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