Skip to content

Add test cases for edge conditions in BinarySearch #7350

Closed

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

Activity

  1. added a commit that references this issue on Mar 29, 2026
    ae637be
  2. surajdm123 commented on Mar 29, 2026

    @surajdm123
    Contributor

    Created a Merge Request for this - #7351

    There are a lot more test cases misses, added all of them.

  3. nylakaidan-ship-it commented on Mar 29, 2026

    @nylakaidan-ship-it
  4. added a commit that references this issue on Mar 30, 2026
    d2744b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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