diff --git a/src/algorithms/sorting/heap-sort/__test__/HeapSort.test.js b/src/algorithms/sorting/heap-sort/__test__/HeapSort.test.js index bc5a364e..1b877aee 100644 --- a/src/algorithms/sorting/heap-sort/__test__/HeapSort.test.js +++ b/src/algorithms/sorting/heap-sort/__test__/HeapSort.test.js @@ -8,6 +8,8 @@ import { } from '../../SortTester'; // Complexity constants. +// These numbers don't take into account up/dow heapifying of the heap. +// Thus these numbers are higher in reality. const SORTED_ARRAY_VISITING_COUNT = 40; const NOT_SORTED_ARRAY_VISITING_COUNT = 40; const REVERSE_SORTED_ARRAY_VISITING_COUNT = 40;