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

Function near

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

Source from the content-addressed store, hash-verified

8import fields2cover as f2c
9
10def near(a, b, error = 1e-7):
11 assert abs(a - b) < error
12
13def test_fields2cover_obj_field_coverage_getBestValue():
14 width = 2.0;

Calls

no outgoing calls

Tested by

no test coverage detected