summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/depthbt_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/trees/depthbt_2')
-rw-r--r--prolog/problems/trees/depthbt_2/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/prolog/problems/trees/depthbt_2/common.py b/prolog/problems/trees/depthbt_2/common.py
index ce04a08..0e2810d 100644
--- a/prolog/problems/trees/depthbt_2/common.py
+++ b/prolog/problems/trees/depthbt_2/common.py
@@ -31,6 +31,8 @@ test_cases = [
[{}]),
('depthBT(b(b(b(b(nil,a,nil),b,nil),c,nil),d,nil), X), X == 4',
[{}]),
+ ('depthBT(b(nil,d,b(nil,c,b(nil,e,b(nil,a,nil)))), X), X == 4',
+ [{}]),
]
def test(code, aux_code):