feat: add MaxHeap func PrintStructure

This commit is contained in:
dudaodong committed 2022-06-29 11:08:07 +08:00
1 parent 0f61321d5b
commit 7930f517ae
2 files changed
+69

No files matched your search

+2
View File
@@ -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) {