MCPcopy Index your code
hub / github.com/apple/ml-pointersect / test

Method test

tests/pointersect/pr/test_pr_limit.py:78–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77
78 def test(self):
79
80 # ns = [1e4, 1e5, 1e6, 1e7]
81 # ms = [1e4, 1e5, 1e6, 1e7]
82
83 ns = [1e7]
84 ms = [1e7]
85
86 for n in ns:
87 for m in ms:
88 print(f'n = {n}, m = {m} -------------------------')
89 self._test(
90 b=1,
91 n=int(n), # number of points
92 m=int(m), # number of rays
93 k=40, # number of neighboring points
94 ray_radius=0.1,
95 grid_size=100,
96 grid_width=1.,
97 )
98 print('')
99
100# results
101"""

Callers

nothing calls this directly

Calls 1

_testMethod · 0.95

Tested by

no test coverage detected