def test_sequence(self): a = varange((.5, 1., 1.5), 4) assert_array_equal(a, [arange(.5, 4), arange(1., 5), arange(1.5, 5)])
def test_single(self): assert_array_equal(varange(.5, 4), arange(.5, 4)) assert_array_equal(varange(1.5, 4), arange(1.5, 5))