From f0f2b630293f78182a10e86e6c041923d131c86a Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 18 Mar 2016 14:11:13 +0100 Subject: Prolog: add a test case for lists/del_2 --- prolog/problems/lists/del_3/common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prolog/problems/lists') diff --git a/prolog/problems/lists/del_3/common.py b/prolog/problems/lists/del_3/common.py index 670ea1e..e4373cc 100644 --- a/prolog/problems/lists/del_3/common.py +++ b/prolog/problems/lists/del_3/common.py @@ -36,6 +36,8 @@ test_cases = [ [{'X': '[]'}]), ('del(X, [t, e, g], [t, g])', [{'X': 'e'}]), + ('del(e, [t, e, g, e], X)', + [{'X': '[t, g, e]'}, {'X': '[t, e, g]'}]), ('del(X, [Y, g, Z], [u, f])', [{'X': 'g', 'Y': 'u', 'Z': 'f'}]), ] -- cgit v1.2.1