summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/len_2
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-11-27 14:55:07 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-11-27 14:55:07 +0100
commit98124fe770b1f400398f240f58b95c5d3ff05093 (patch)
tree491805d4725dc9b0a7c3c4da1882e777cbadcf50 /prolog/problems/lists/len_2
parent4ea766143daae7a840f79b66a9b5c44d696df5fe (diff)
Add missing test functions for prolog/lists
Diffstat (limited to 'prolog/problems/lists/len_2')
-rw-r--r--prolog/problems/lists/len_2/common.py4
1 files changed, 2 insertions, 2 deletions
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'}]),