We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ce769 commit 34409d9Copy full SHA for 34409d9
tests/test_utils.py
@@ -21,6 +21,8 @@ def test_unique():
21
def test_count():
22
assert count([1, 2, 3, 4, 2, 3, 4]) == 7
23
assert count("aldpeofmhngvia") == 14
24
+ assert count([True, False, True, True, False]) == 3
25
+ assert count([5 > 1, len("abc") == 3, 3+1 == 5]) == 2
26
27
28
def test_product():
0 commit comments