Test to make sure equivalent Travis O's r2array function
(self)
| 84 | assert_array_equal(res, desired) |
| 85 | |
| 86 | def test_r2array(self): |
| 87 | """ Test to make sure equivalent Travis O's r2array function |
| 88 | """ |
| 89 | assert_(atleast_2d(3).shape == (1, 1)) |
| 90 | assert_(atleast_2d([3j, 1]).shape == (1, 2)) |
| 91 | assert_(atleast_2d([[[3, 1], [4, 5]], [[3, 5], [1, 2]]]).shape == (2, 2, 2)) |
| 92 | |
| 93 | |
| 94 | class TestAtleast3d: |
nothing calls this directly
no test coverage detected