diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-04-04 18:54:46 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-04-04 18:54:46 +0200 |
commit | dda17e976021f71bfec770b6ec2be8cb899aacc8 (patch) | |
tree | b9ee05d69b0b90ac2b3ef3ca8fa264d49f07ce68 | |
parent | 732b8f42029eced5e53debbff367131c2ea366ee (diff) |
Prolog: add a test case for conc/3
-rw-r--r-- | prolog/problems/lists/conc_3/common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/prolog/problems/lists/conc_3/common.py b/prolog/problems/lists/conc_3/common.py index 108a334..70163b9 100644 --- a/prolog/problems/lists/conc_3/common.py +++ b/prolog/problems/lists/conc_3/common.py @@ -1,11 +1,9 @@ -# coding=utf-8 - from operator import itemgetter +import socket + import prolog.engine import prolog.util -import socket from server.hints import Hint, HintPopup -import server.problems id = 104 number = 5 @@ -38,6 +36,8 @@ test_cases = [ [{'X': '[j, b, l]'}]), ('conc([a, r, u, e], [c, f], X)', [{'X': '[a, r, u, e, c, f]'}]), + ('conc([a, r, u], [c, f], X)', + [{'X': '[a, r, u, c, f]'}]), ('conc(X, [], [g, r])', [{'X': '[g, r]'}]), ('conc([], [], [])', |