Skip to content

Add test cases for edge conditions in BinarySearch #7350

@AbhiramSakha

Description

@AbhiramSakha

What would you like to share?

The current BinarySearch tests cover general cases, but additional edge case testing would improve reliability.

Suggested additions:

  • Test with empty array
  • Test with single element array
  • Test with element not present

This will ensure correctness across edge cases.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triageAwaiting triage from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions