Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/trekhleb/javascript-algorithms
/ MaxHeapAdhoc.test.js
File
MaxHeapAdhoc.test.js
src/data-structures/heap/__test__/MaxHeapAdhoc.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
MaxHeap from
'../MaxHeapAdhoc'
;
2
3
describe(
'MaxHeapAdhoc'
, () => {
4
it(
'should create an empty max heap'
, () => {
Callers
nothing calls this directly
Calls
5
peek
Method · 0.45
isEmpty
Method · 0.45
add
Method · 0.45
toString
Method · 0.45
poll
Method · 0.45
Tested by
no test coverage detected