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