From 4da24767460b3cac5a7dc8579850ca71596da31d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 25 May 2016 11:56:02 +0200 Subject: Prolog: add a test case for dcg/paren_2 --- prolog/problems/dcg/paren_2/common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'prolog/problems/dcg/paren_2') 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): -- cgit v1.2.1