()
| 1934 | |
| 1935 | |
| 1936 | def test_arithmetic_subtract(): |
| 1937 | left = pa.array([1, 2, 3, 4, 5]) |
| 1938 | right = pa.array([0, -1, 1, 2, 3]) |
| 1939 | result = pc.subtract(left, right) |
| 1940 | expected = pa.array([1, 3, 2, 2, 2]) |
| 1941 | assert result.equals(expected) |
| 1942 | |
| 1943 | |
| 1944 | def test_arithmetic_multiply(): |