(self)
| 51 | npt.assert_array_almost_equal( out, np.array([86., 124., 168.])) |
| 52 | |
| 53 | def test_changing_array_size(self): |
| 54 | logger.info('Test input with keywords, changing input array size') |
| 55 | a = np.array([1., 2., 3.]) |
| 56 | b = np.array([4., 5., 6.]) |
| 57 | a2 = np.arange(self.ssize).astype(a.dtype) |
| 58 | b2 = np.arange(3.0, self.ssize+3.0).astype(b.dtype) |
| 59 | out = ne3.NumExpr( 'a*b' )(a=a2, b=b2) |
| 60 | npt.assert_array_almost_equal( out, a2*b2 ) |
| 61 | |
| 62 | def test_changing_array_shape(self): |
| 63 | logger.info('Test changing input array shape') |
nothing calls this directly
no outgoing calls
no test coverage detected