Skip to content

Conversation

@aitorfi
Copy link
Contributor

@aitorfi aitorfi commented Sep 16, 2022

Describe your change:

Added unit tests for the BubbleSort algorithm and removed assert statements from the algorithm class.

References

Closes #3274

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Java files are placed inside an existing directory.
  • All filenames are in all uppercase characters with no spaces or dashes.
  • All functions and variable names follow Java naming conventions.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@aitorfi aitorfi requested a review from siriak September 19, 2022 16:17
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak enabled auto-merge (squash) September 19, 2022 17:22
@siriak siriak merged commit a2dd154 into TheAlgorithms:master Sep 19, 2022
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.

Add BubbleSort unit tests

2 participants