values[i] = vew.initValue(null);
values[i] = vew.setValue(values[i], lcv, i);
if (values[i] != null) {
Writable expected = getWritableValue(type, lcv.vector[i]);
if (expected instanceof TimestampWritable) {
TimestampWritable t1 = (TimestampWritable) expected;
TimestampWritable t2 = (TimestampWritable) values[i];
Assert.assertTrue(t1.getNanos() == t2.getNanos());
Assert.assertTrue(t1.getSeconds() == t2.getSeconds());
continue;
}
Assert.assertEquals(expected, values[i]);
} else {
Assert.assertTrue(lcv.isNull[i]);