mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-03 13:28:40 +00:00
captital leter
This commit is contained in:
parent
7629686cc7
commit
392616713d
@ -54,16 +54,16 @@ class Bloom:
|
|||||||
|
|
||||||
def test_movies():
|
def test_movies():
|
||||||
b = Bloom()
|
b = Bloom()
|
||||||
b.add("titanic")
|
b.add("Titanic")
|
||||||
b.add("avatar")
|
b.add("Avatar")
|
||||||
|
|
||||||
assert b.exists("titanic")
|
assert b.exists("Titanic")
|
||||||
assert b.exists("avatar")
|
assert b.exists("Avatar")
|
||||||
|
|
||||||
assert b.exists("the goodfather") in (True, False)
|
assert b.exists("The Goodfather") in (True, False)
|
||||||
assert b.exists("interstellar") in (True, False)
|
assert b.exists("Interstellar") in (True, False)
|
||||||
assert b.exists("Parasite") in (True, False)
|
assert b.exists("Parasite") in (True, False)
|
||||||
assert b.exists("Pulp fiction") in (True, False)
|
assert b.exists("Pulp Fiction") in (True, False)
|
||||||
|
|
||||||
|
|
||||||
def random_string(size):
|
def random_string(size):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user