(self)
| 128 | assert_array_equal(res, desired) |
| 129 | |
| 130 | def test_2D_array(self): |
| 131 | a = array([[1, 2], [1, 2]]) |
| 132 | b = array([[2, 3], [2, 3]]) |
| 133 | res = [atleast_3d(a), atleast_3d(b)] |
| 134 | desired = [a[:, :, newaxis], b[:, :, newaxis]] |
| 135 | assert_array_equal(res, desired) |
| 136 | |
| 137 | def test_3D_array(self): |
| 138 | a = array([[1, 2], [1, 2]]) |
nothing calls this directly
no test coverage detected