Skip to content

Added more test cases as per the issue #6282 #6303

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

audhee
Copy link

@audhee audhee commented Jun 20, 2025

  • 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 20+ test cases for "Binary_Pow":

  • Base & exponent variations :
  • 0^0 handling :
  • Negative base behavior :
  • Overflow/large number checks :
  • Negative exponent exception testing :

Follows repo structure & uses JUnit 5
Resolves issue #6282

@DenizAltunkapan
Copy link
Collaborator

Please fix the failing pipelines @audhee

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants