(self)
| 107 | assert_array_equal(res, desired) |
| 108 | |
| 109 | def test_2D_array(self): |
| 110 | a = array([[1, 2], [1, 2]]) |
| 111 | b = array([[2, 3], [2, 3]]) |
| 112 | res = [atleast_3d(a), atleast_3d(b)] |
| 113 | desired = [a[:,:, newaxis], b[:,:, newaxis]] |
| 114 | assert_array_equal(res, desired) |
| 115 | |
| 116 | def test_3D_array(self): |
| 117 | a = array([[1, 2], [1, 2]]) |
nothing calls this directly
no test coverage detected