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/del_3/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prolog/problems/lists/del_3') 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'}]), ] -- cgit v1.2.1