diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-11-30 15:09:07 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-11-30 15:09:07 +0100 |
commit | bb49b7add4e63f8cb10130ed860107e5eda95018 (patch) | |
tree | 3c811ed7076284db2ebdcee3d2ffcfb0b5f06411 /prolog/problems/lists/del_3 | |
parent | 8d7d287e088068c661a241f88cf70412b5121a58 (diff) |
Reformat Prolog test cases with lists
Diffstat (limited to 'prolog/problems/lists/del_3')
-rw-r--r-- | prolog/problems/lists/del_3/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/lists/del_3/common.py b/prolog/problems/lists/del_3/common.py index cf458b1..5e00f4d 100644 --- a/prolog/problems/lists/del_3/common.py +++ b/prolog/problems/lists/del_3/common.py @@ -18,9 +18,9 @@ del(X, [Y|T], [Y|L]) :- test_cases = [ ('del(1, [1], X)', [{'X': '[]'}]), - ('del(X, [t,e,g], [t,g])', + ('del(X, [t, e, g], [t, g])', [{'X': 'e'}]), - ('del(X, [Y,g,Z], [u,f])', + ('del(X, [Y, g, Z], [u, f])', [{'X': 'g', 'Y': 'u', 'Z': 'f'}]), ] |