From 2b88e3bf73879b1f005358f3cf43216fdf77e94e Mon Sep 17 00:00:00 2001 From: Antonis Maronikolakis Date: Thu, 13 Apr 2017 15:37:29 +0300 Subject: [PATCH] Expand count tests --- tests/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index 5ca973e09..ae39cf50e 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -21,6 +21,8 @@ def test_unique(): def test_count(): assert count([1, 2, 3, 4, 2, 3, 4]) == 7 assert count("aldpeofmhngvia") == 14 + assert count([True, False, True, True, False]) == 3 + assert count([5 > 1, len("abc") == 3, 3+1 == 5]) == 2 def test_product():