def test_arange_3(self): start = 12.234 stop = -10.456 step = -0.067 np.testing.assert_almost_equal(bm.arange(start, stop, step), np.arange(start, stop, step), decimal=8)
def test_arange_2(self): start = 0 stop = 1000 step = 33 np.testing.assert_almost_equal(bm.arange(start, stop, step), np.arange(start, stop, step), decimal=8)
def test_arange_4(self): start = np.random.rand() stop = np.random.rand() start, stop = min(start, stop), max(start, stop) step = np.random.random() * (stop - start) / 60. np.testing.assert_almost_equal(bm.arange(start, stop, step), np.arange(start, stop, step), decimal=8)