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

Function near

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

Source from the content-addressed store, hash-verified

10import numpy as np
11
12def near(a, b, error = 1e-7):
13 assert abs(a - b) < error
14
15
16def create_polygons_test():

Calls

no outgoing calls

Tested by

no test coverage detected