MCPcopy Create free account
hub / github.com/pydata/numexpr / test_floor_div

Method test_floor_div

numexpr3/tests/test_numexpr.py:203–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

201 npt.assert_array_almost_equal( expr(a=a, b=b), expr.run(a=a, b=b) )
202
203 def test_floor_div(self):
204 logger.info( 'Test floor div3' )
205 x = np.arange(self.ssize, dtype='int64')
206 intSize = np.int64(self.ssize)
207 y = ne3.NumExpr('intSize//x')()
208 npt.assert_array_equal(y, intSize//x)
209
210 def test_true_div(self):
211 logger.info( 'Test true div' )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected