MCPcopy
hub / github.com/hyperopt/hyperopt / test_numeric

Method test_numeric

hyperopt/tests/unit/test_rdists.py:234–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 assert qn.pmf(-0.99) == 0.0
233
234 def test_numeric(self):
235 qn = qnormal_gen(0, 1, 1)
236 assert qn.pmf(500) > -np.inf
237
238 def test_output_type_int(self):
239 result = qnormal_gen(0, 10, 1).rvs()

Callers

nothing calls this directly

Calls 2

qnormal_genClass · 0.90
pmfMethod · 0.45

Tested by

no test coverage detected