(self)
| 741 | assert_equal(a, np.arange(5)) |
| 742 | |
| 743 | def test_empty(self): |
| 744 | a = np.array([[[]]]) |
| 745 | b = np.array([[], []]) |
| 746 | c = tile(b, 2).shape |
| 747 | d = tile(a, (3, 2, 5)).shape |
| 748 | assert_equal(c, (2, 0)) |
| 749 | assert_equal(d, (3, 2, 0)) |
| 750 | |
| 751 | def test_kroncompare(self): |
| 752 | from numpy.random import randint |
nothing calls this directly
no test coverage detected