def test_numpy_backend():
    X = (random.randint(0, 10) * 10)
    Y = (random.randint(0, 10) * 10)
    zeros = backend.zeros((X, Y))
    ones = backend.ones((X, Y))
    assert isinstance(backend, NumpyBackend)
    assert isinstance(zeros, np.ndarray)
    assert isinstance(ones, np.ndarray)
    assert (backend.int == np.int64)
    assert (backend.float == np.float64)
    assert (zeros.shape == (X, Y))
    assert (ones.shape == (X, Y))
    assert (backend.sin(ones).any() == np.sin(ones).any())
    assert (backend.cos(ones).any() == np.cos(ones).any())
def test_numpy_backend():
    X = (random.randint(0, 10) * 10)
    Y = (random.randint(0, 10) * 10)
    zeros = backend.zeros((X, Y))
    ones = backend.ones((X, Y))
    assert isinstance(backend, NumpyBackend)
    assert isinstance(zeros, np.ndarray)
    assert isinstance(ones, np.ndarray)
    assert (backend.int == np.int64)
    assert (backend.float == np.float64)
    assert (zeros.shape == (X, Y))
    assert (ones.shape == (X, Y))
    assert (backend.sin(ones).any() == np.sin(ones).any())
    assert (backend.cos(ones).any() == np.cos(ones).any())