// test basic case
VectorizedRowBatch b = getBatchDecimalDouble();
VectorExpression expr = new CastDecimalToDouble(0, 1);
expr.evaluate(b);
DoubleColumnVector r = (DoubleColumnVector) b.cols[1];
assertEquals(1.1d, r.vector[0], eps);
assertEquals(-2.2d, r.vector[1], eps);
assertEquals(9999999999999999.0d, r.vector[2], eps);
// test with nulls in input