VectorizedRowBatch b = getVectorizedRowBatch3DecimalCols();
DecimalColumnVector in1 = (DecimalColumnVector) b.cols[1];
for (int i = 0; i < 3; i++) {
in1.vector[i] = new Decimal128("0.50", (short) 2);
}
VectorExpression expr = new DecimalColModuloDecimalColumn(0, 1, 2);
expr.evaluate(b);
DecimalColumnVector r = (DecimalColumnVector) b.cols[2];
assertTrue(r.vector[0].equals(new Decimal128("0.20", (short) 2)));
assertTrue(r.vector[1].equals(new Decimal128("-0.30", (short) 2)));
assertTrue(r.vector[2].equals(new Decimal128("0", (short) 2)));