(self)
| 1466 | assert_equal(a.mask, [0, 0, 0]) |
| 1467 | |
| 1468 | def test_mod(self): |
| 1469 | # Tests mod |
| 1470 | (x, y, a10, m1, m2, xm, ym, z, zm, xf) = self.d |
| 1471 | assert_equal(mod(x, y), mod(xm, ym)) |
| 1472 | test = mod(ym, xm) |
| 1473 | assert_equal(test, np.mod(ym, xm)) |
| 1474 | assert_equal(test.mask, mask_or(xm.mask, ym.mask)) |
| 1475 | test = mod(xm, ym) |
| 1476 | assert_equal(test, np.mod(xm, ym)) |
| 1477 | assert_equal(test.mask, mask_or(mask_or(xm.mask, ym.mask), (ym == 0))) |
| 1478 | |
| 1479 | def test_TakeTransposeInnerOuter(self): |
| 1480 | # Test of take, transpose, inner, outer products |
nothing calls this directly
no test coverage detected