(self)
| 1626 | assert_equal(a.mask, [0, 0, 0]) |
| 1627 | |
| 1628 | def test_mod(self): |
| 1629 | # Tests mod |
| 1630 | x, y, _, _, _, xm, ym, _, _, _ = self._create_data() |
| 1631 | assert_equal(mod(x, y), mod(xm, ym)) |
| 1632 | test = mod(ym, xm) |
| 1633 | assert_equal(test, np.mod(ym, xm)) |
| 1634 | assert_equal(test.mask, mask_or(xm.mask, ym.mask)) |
| 1635 | test = mod(xm, ym) |
| 1636 | assert_equal(test, np.mod(xm, ym)) |
| 1637 | assert_equal(test.mask, mask_or(mask_or(xm.mask, ym.mask), (ym == 0))) |
| 1638 | |
| 1639 | def test_TakeTransposeInnerOuter(self): |
| 1640 | # Test of take, transpose, inner, outer products |
nothing calls this directly
no test coverage detected