Skip to content

Added tests for HillCipher.java #5560

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

Closed
wants to merge 2 commits into from

Conversation

bennybebo
Copy link
Contributor

  • [x ] I have read CONTRIBUTING.md.
  • [x ] This pull request is all my own work -- I have not plagiarized it.
  • [x ] All filenames are in PascalCase.
  • [x ] All functions and variable names follow Java naming conventions.
  • [x ] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [x ] All new code is formatted with clang-format -i --style=file path/to/your/file.java

I have also removed Scanner dependencies from HillCipher.java to allow for testing

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 89.09091% with 6 lines in your changes missing coverage. Please review.

Project coverage is 53.46%. Comparing base (be8df21) to head (76de12c).

Files with missing lines Patch % Lines
...ain/java/com/thealgorithms/ciphers/HillCipher.java 89.09% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5560      +/-   ##
============================================
+ Coverage     52.95%   53.46%   +0.50%     
- Complexity     3309     3329      +20     
============================================
  Files           529      529              
  Lines         15343    15303      -40     
  Branches       2925     2917       -8     
============================================
+ Hits           8125     8181      +56     
+ Misses         6882     6785      -97     
- Partials        336      337       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bennybebo bennybebo closed this Oct 3, 2024
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