diff options
Diffstat (limited to 'prolog/problems/lists/count_3')
-rw-r--r-- | prolog/problems/lists/count_3/common.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prolog/problems/lists/count_3/common.py b/prolog/problems/lists/count_3/common.py index 423bb1e..c257d66 100644 --- a/prolog/problems/lists/count_3/common.py +++ b/prolog/problems/lists/count_3/common.py @@ -22,11 +22,11 @@ count(X, [Y|T], NT) :- test_cases = [ ('count(a, [], X)', [{'X': '0'}]), - ('count(r, [a,r,b,c,r], X)', + ('count(r, [a, r, b, c, r], X)', [{'X': '2'}]), - ('count(l, [l,l,l,1,2,3], X)', + ('count(l, [l, l, l, 1, 2, 3], X)', [{'X': '3'}]), - ('count(z, [a,b,c,z,z], X)', + ('count(z, [a, b, c, z, z], X)', [{'X': '2'}]), ] |