(self)
| 1708 | assert_equal(out.shape, tgtShape) |
| 1709 | |
| 1710 | def test_three_arg_funcs(self): |
| 1711 | argOne, argTwo, argThree, tgtShape = self._create_arrays() |
| 1712 | funcs = [np.random.noncentral_f, np.random.triangular, |
| 1713 | np.random.hypergeometric] |
| 1714 | |
| 1715 | for func in funcs: |
| 1716 | out = func(argOne, argTwo, argThree) |
| 1717 | assert_equal(out.shape, tgtShape) |
| 1718 | |
| 1719 | out = func(argOne[0], argTwo, argThree) |
| 1720 | assert_equal(out.shape, tgtShape) |
| 1721 | |
| 1722 | out = func(argOne, argTwo[0], argThree) |
| 1723 | assert_equal(out.shape, tgtShape) |
nothing calls this directly
no test coverage detected