(self)
| 116 | assert_equal(rot90(a, k=1, axes=(1, 0)), rot90(a, k=-1, axes=(0, 1))) |
| 117 | |
| 118 | def test_axes(self): |
| 119 | a = np.ones((50, 40, 3)) |
| 120 | assert_equal(rot90(a).shape, (40, 50, 3)) |
| 121 | assert_equal(rot90(a, axes=(0, 2)), rot90(a, axes=(0, -1))) |
| 122 | assert_equal(rot90(a, axes=(1, 2)), rot90(a, axes=(-2, -1))) |
| 123 | |
| 124 | def test_rotation_axes(self): |
| 125 | a = np.arange(8).reshape((2, 2, 2)) |
nothing calls this directly
no test coverage detected