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()
评论列表
文章目录