()
| 1942 | |
| 1943 | |
| 1944 | def 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 | |
| 1952 | def test_arithmetic_remainder_modulo(): |