(self)
| 245 | |
| 246 | |
| 247 | def test_complex_strides(self): |
| 248 | logger.info( 'Test complex strides' ) |
| 249 | a = np.linspace( -1, 1, self.ssize, dtype='float32' ) |
| 250 | b = np.linspace( -0.01, 0.01, self.ssize, dtype='float32' ) |
| 251 | z1 = (a + 1j * b)[::2] |
| 252 | z2 = (a - 1j * b)[::2] |
| 253 | ne3.evaluate('out = z1 + z2' ) |
| 254 | npt.assert_array_almost_equal( locals()['out'], z1+z2 ) |
| 255 | |
| 256 | |
| 257 | def test_list_literal(self): |
nothing calls this directly
no outgoing calls
no test coverage detected