Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hyperopt/hyperopt
/ test_float
Method
test_float
hyperopt/tests/test_base.py:233–234 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
231
assert self.SONify(1) == 1
232
233
def
test_float(self):
234
assert self.SONify(1.1) == 1.1
235
236
def
test_np_1d_int(self):
237
assert np.all(self.SONify(np.asarray([1, 2, 3])) == [1, 2, 3])
Callers
nothing calls this directly
Calls
1
SONify
Method · 0.95
Tested by
no test coverage detected