'Test that ndmin is correctly propagated to np.array'

def test_ndmin(self):

    a = np.arange(10.0)
    q1 = u.Quantity(a, u.m, ndmin=1)
    assert ((q1.ndim == 1) and (q1.shape == (10,)))
    q2 = u.Quantity(a, u.m, ndmin=2)
    assert ((q2.ndim == 2) and (q2.shape == (1, 10)))
    q3 = u.Quantity(q1, u.m, ndmin=3)
    assert ((q3.ndim == 3) and (q3.shape == (1, 1, 10)))
