def test_linspace_4(self): start = np.random.rand() stop = np.random.rand() num = int(np.random.rand()) np.testing.assert_almost_equal(bm.linspace(start, stop, num), np.linspace(start, stop, num), decimal=8)
def test_linspace_2(self): start = 0 stop = 10 num = 33 np.testing.assert_almost_equal(bm.linspace(start, stop, num), np.linspace(start, stop, num), decimal=8)
def test_linspace_3(self): start = 12.234 stop = -10.456 np.testing.assert_almost_equal(bm.linspace(start, stop), np.linspace(start, stop), decimal=8)