From 98124fe770b1f400398f240f58b95c5d3ff05093 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 27 Nov 2015 14:55:07 +0100 Subject: Add missing test functions for prolog/lists --- prolog/problems/lists/len_2/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prolog/problems/lists/len_2') diff --git a/prolog/problems/lists/len_2/common.py b/prolog/problems/lists/len_2/common.py index d30588c..61ea064 100644 --- a/prolog/problems/lists/len_2/common.py +++ b/prolog/problems/lists/len_2/common.py @@ -17,9 +17,9 @@ len([_|T], Len) :- ''' test_cases = [ - ('len([8,3,5,1], X)', + ('len([8, 3, 5, 1], X)', [{'X': '4'}]), - ('len([2,-3,5,0,3], X)', + ('len([2, -3, 5, 0, 3], X)', [{'X': '5'}]), ('len([], X)', [{'X': '0'}]), -- cgit v1.2.1