Skip to content

Commit f77a970

Browse files
authored
updated BinaryHeap.test.js (TheAlgorithms#1520)
there was a console.log, which is not necessary for test cases.
1 parent 4100091 commit f77a970

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Data-Structures/Heap/test/BinaryHeap.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ describe('BinaryHeap', () => {
3636
it('should handle insertion of duplicate values', () => {
3737
// Check if the heap handles duplicate values correctly
3838
minHeap.insert(2)
39-
console.log(minHeap.heap)
4039
expect(minHeap.heap).toEqual([1, 3, 2, 4, 8, 6, 2])
4140
})
4241

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy