mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
feat: add MaxHeap func PrintStructure
This commit is contained in:
1 parent
0f61321d5b
commit
7930f517ae
2 files changed
+69
No files matched your search
@@ -34,6 +34,8 @@ func TestMaxHeap_Push(t *testing.T) {
|
||||
assert.Equal(expected, heap.data)
|
||||
|
||||
assert.Equal(12, heap.Size())
|
||||
|
||||
heap.PrintStructure()
|
||||
}
|
||||
|
||||
func TestMaxHeap_Pop(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user