test_dsdf.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:codecad 作者: bluecube 项目源码 文件源码
def test_dsdf_approximate(eval_buffer):
    """ Following the direction must get closer to the surface with each step """

    for v in eval_buffer.array:
        if v[0]["w"] == pytest.approx(0, abs=1e-5) or abs(v[1]["w"]) < abs(v[0]["w"]):
            pass
        else:
            pytest.xfail()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号