Test to make sure equivalent Travis O's r1array function
(self)
| 44 | assert_array_equal(res, desired) |
| 45 | |
| 46 | def test_r1array(self): |
| 47 | """ Test to make sure equivalent Travis O's r1array function |
| 48 | """ |
| 49 | assert_(atleast_1d(3).shape == (1,)) |
| 50 | assert_(atleast_1d(3j).shape == (1,)) |
| 51 | assert_(atleast_1d(3.0).shape == (1,)) |
| 52 | assert_(atleast_1d([[2, 3], [4, 5]]).shape == (2, 2)) |
| 53 | |
| 54 | |
| 55 | class TestAtleast2d: |
nothing calls this directly
no test coverage detected