Skip to content

Commit 4077875

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 37afac6 commit 4077875

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
def test_binary_search_leftmost_duplicate():
22
assert binary_search([1, 2, 2, 2, 3], 2) == 1
33

4+
45
def test_binary_search_all_duplicates():
56
assert binary_search([1, 1, 1, 1], 1) == 0
67

8+
79
def test_binary_search_not_found():
8-
assert binary_search([1, 2, 3], 4) == -1
10+
assert binary_search([1, 2, 3], 4) == -1

0 commit comments

Comments
 (0)