summaryrefslogtreecommitdiff
path: root/prolog/problems/lists
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/lists')
-rw-r--r--prolog/problems/lists/del_3/common.py2
1 files changed, 2 insertions, 0 deletions
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'}]),
]