Skip to content

Improve binarySearch tests #1

@skiadas

Description

@skiadas

For instance code like this should fail timing test:

  if (arr[mid] > val) {
     hi=mid;
     mid=Math.floor(hi/2);
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions