diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-18 14:11:13 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-18 14:11:13 +0100 |
commit | f0f2b630293f78182a10e86e6c041923d131c86a (patch) | |
tree | cb0d91c10384493968ef74b9f66adbe9864407e1 | |
parent | 426c9ce471d04b1e70f30d7b404ae4321fb0f663 (diff) |
Prolog: add a test case for lists/del_2
-rw-r--r-- | prolog/problems/lists/del_3/common.py | 2 |
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'}]), ] |