Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created tests for the existing sort modules #29

Merged
merged 40 commits into from
Oct 10, 2024

Conversation

Ramy-Badr-Ahmed
Copy link
Member

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed commented Oct 9, 2024

Contents

  • Modified existing sorts tests to simulate unit testing.
  • Implemented ctest-friendly structure: Returns an exit code of 1 for failed tests.
  • Added the --output-on-failure flag to the ctest command in the CI workflow, allows the output of failed tests to be displayed.
  • Added two new test files:
    • bubble_sort.f90: Contains unit tests for the bubble_sort module.
    • recursive_bubble_sort.f90: Contains unit tests for the recursive_bubble_sort module.

Note

Addendum to my PRs: #7, #8, #9, #10, #11, #14, #21, #22

Copy link
Member Author

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @SatinWukerORIG ,
Looking forward to your review 🙂

ci

check_code_format

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed changed the title Created tests for the existing sort modules Created tests for the existing sort modules Oct 9, 2024
Copy link
Member

@SatinWukerORIG SatinWukerORIG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SatinWukerORIG SatinWukerORIG merged commit 1d80bb9 into TheAlgorithms:main Oct 10, 2024
3 checks passed
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.

2 participants