(self)
| 79 | assert_equal(rot90(a, k=1, axes=(1,0)), rot90(a, k=-1, axes=(0,1))) |
| 80 | |
| 81 | def test_axes(self): |
| 82 | a = np.ones((50, 40, 3)) |
| 83 | assert_equal(rot90(a).shape, (40, 50, 3)) |
| 84 | assert_equal(rot90(a, axes=(0,2)), rot90(a, axes=(0,-1))) |
| 85 | assert_equal(rot90(a, axes=(1,2)), rot90(a, axes=(-2,-1))) |
| 86 | |
| 87 | def test_rotation_axes(self): |
| 88 | a = np.arange(8).reshape((2,2,2)) |
nothing calls this directly
no test coverage detected