nas5w / javascript-patterns

A collection of javascript algorithms, patterns, and techniques
MIT License
293 stars 69 forks source link

Heap data structure and testing #127

Open haotongwang opened 4 years ago

haotongwang commented 4 years ago

Heap methods:

Heap public properties:

Testing includes tests for each method and property.

118

codecov-io commented 4 years ago

Codecov Report

Merging #127 into master will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
+ Coverage   99.66%   99.68%   +0.01%     
==========================================
  Files          39       40       +1     
  Lines         602      625      +23     
  Branches       88       94       +6     
==========================================
+ Hits          600      623      +23     
  Misses          2        2
Impacted Files Coverage Δ
src/dataStructures/Heap.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ff12899...4e347be. Read the comment docs.