Skip to content

Conversation

@MehulKing2009
Copy link

Added a method to verify prime numbers using BigInteger's isProbablePrime (Safest).

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

Added a method to verify prime numbers using BigInteger's isProbablePrime (Safest).
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.90%. Comparing base (6149ec7) to head (2bb44fa).

Files with missing lines Patch % Lines
...java/com/thealgorithms/maths/Prime/PrimeCheck.java 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7186      +/-   ##
============================================
- Coverage     78.91%   78.90%   -0.02%     
  Complexity     6883     6883              
============================================
  Files           774      774              
  Lines         22746    22749       +3     
  Branches       4468     4469       +1     
============================================
  Hits          17951    17951              
- Misses         4076     4079       +3     
  Partials        719      719              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MehulKing2009 MehulKing2009 deleted the patch-1 branch December 29, 2025 15:45
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