MCPcopy Create free account
hub / github.com/apache/arrow / test_arithmetic_multiply

Function test_arithmetic_multiply

python/pyarrow/tests/test_compute.py:1944–1949  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1942
1943
1944def test_arithmetic_multiply():
1945 left = pa.array([1, 2, 3, 4, 5])
1946 right = pa.array([0, -1, 1, 2, 3])
1947 result = pc.multiply(left, right)
1948 expected = pa.array([0, -2, 3, 8, 15])
1949 assert result.equals(expected)
1950
1951
1952def test_arithmetic_remainder_modulo():

Callers

nothing calls this directly

Calls 2

equalsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected