summaryrefslogtreecommitdiff
path: root/prolog/problems
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-05-25 11:56:02 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-05-25 11:56:02 +0200
commit4da24767460b3cac5a7dc8579850ca71596da31d (patch)
tree1161b3ffb02d431da524f5e04d4c7bb96b498d75 /prolog/problems
parentde7b441fe4ebd88fc19abbd6542cb8129f735ced (diff)
Prolog: add a test case for dcg/paren_2
Diffstat (limited to 'prolog/problems')
-rw-r--r--prolog/problems/dcg/paren_2/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/prolog/problems/dcg/paren_2/common.py b/prolog/problems/dcg/paren_2/common.py
index 2fa050f..f77950d 100644
--- a/prolog/problems/dcg/paren_2/common.py
+++ b/prolog/problems/dcg/paren_2/common.py
@@ -31,6 +31,8 @@ test_cases = [
['(','(',')',')','(',')'],['(',')','(','(',')',')'], \
['(',')','(',')','(',')']]",
[{}]),
+ ("paren(['(','(','(',')',')',')','(',')','(','(',')',')'], [])",
+ [{}]),
]
def test(code, aux_code):