Skip to content

test: add negative numbers case for heap sort - #15691

Open
Dheeraj2808 wants to merge 1 commit into
TheAlgorithms:masterfrom
Dheeraj2808:fix/sorting-algorithm
Open

Dheeraj2808 wants to merge 1 commit into
TheAlgorithms:masterfrom
Dheeraj2808:fix/sorting-algorithm

Conversation

@Dheeraj2808

Copy link
Copy Markdown

Description

Added a test case for negative numbers in the Heap Sort implementation.

Changes

  • Added an assertion to verify that Heap Sort correctly sorts negative numbers.

Testing

  • Ran python -m pytest .\tests\test_sorts.py::test_heap_sort
  • Result: 1 passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant