MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / near

Function near

tests/python/objectives/complete_turn_path_obj_test.py:11–12  ·  view source on GitHub ↗
(a, b, error = 1e-7)

Source from the content-addressed store, hash-verified

9import math
10
11def near(a, b, error = 1e-7):
12 assert abs(a - b) < error
13
14
15def test_fields2cover_obj_complete_turn_path_obj_computeCost():

Calls

no outgoing calls

Tested by

no test coverage detected