Skip to content

Heap data structure and testing #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Heap data structure and testing #127

wants to merge 20 commits into from

Conversation

haotongwang
Copy link

@haotongwang haotongwang commented Nov 30, 2019

Heap methods:

  • isEmpty
  • peek
  • push
  • getMax

Heap public properties:

  • length

Testing includes tests for each method and property.

#118

@codecov-io
Copy link

codecov-io commented Nov 30, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants