Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3926167

Browse files
committed
captital leter
1 parent 7629686 commit 3926167

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

data_structures/hashing/bloom_filter.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ def hash_(self, value: str) -> int:
5454

5555
def test_movies():
5656
b = Bloom()
57-
b.add("titanic")
58-
b.add("avatar")
57+
b.add("Titanic")
58+
b.add("Avatar")
5959

60-
assert b.exists("titanic")
61-
assert b.exists("avatar")
60+
assert b.exists("Titanic")
61+
assert b.exists("Avatar")
6262

63-
assert b.exists("the goodfather") in (True, False)
64-
assert b.exists("interstellar") in (True, False)
63+
assert b.exists("The Goodfather") in (True, False)
64+
assert b.exists("Interstellar") in (True, False)
6565
assert b.exists("Parasite") in (True, False)
66-
assert b.exists("Pulp fiction") in (True, False)
66+
assert b.exists("Pulp Fiction") in (True, False)
6767

6868

6969
def random_string(size):

0 commit comments

Comments
 (0)