def backchain_to_goal_tree_3_testanswer(val, original_val = None):
return ( tree_map(type_encode(val), frozenset) ==
tree_map(type_encode(result_bc_3), frozenset))
# This test checks to make sure that your backchainer produces
# the correct goal tree given the hypothesis 'geoff is a giraffe'
# and using the ZOOKEEPER_RULES.
tests.py 文件源码
python
阅读 17
收藏 0
点赞 0
评论 0
评论列表
文章目录