From bb49b7add4e63f8cb10130ed860107e5eda95018 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 30 Nov 2015 15:09:07 +0100 Subject: Reformat Prolog test cases with lists --- prolog/problems/lists/count_3/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prolog/problems/lists/count_3') 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'}]), ] -- cgit v1.2.1