Skip to content

Commit 0e69f66

Browse files
committed
Added more to heapsort still doesnt work
1 parent f71afae commit 0e69f66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/sorting/heapsort.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//var sortTestCase = require('./sort.testcase.js');
2-
//var heapSort = require('../../src/sorting/heapsort.js').heapSort;
2+
var heapSort = require('../../src/sorting/heapsort.js');
33

44
//sortTestCase(heapSort, 'Heap sort');
55

@@ -17,3 +17,6 @@ for(var i = 0; i < MAX; ++i){
1717
}
1818
print(arr);
1919

20+
21+
22+
heapSort(arr);

0 commit comments

Comments
 (0)