assertEquals(true,row.get("c") instanceof boolean[]);
Assert.assertTrue(Arrays.equals(new boolean[]{true, false, true}, (boolean[]) row.get("c")));
}
@Test
public void testIntArrayType() throws Exception {
RowData data = new RowData("a:int\tb:float\tc:int_array", "\t", 0);
data.processLine("100\t100.0\t1,2,3");
Map<String,Object> row = data.getProperties();
assertEquals(100, row.get("a"));
assertEquals(true,row.get("b") instanceof Float);
assertEquals(100.0F, row.get("b"));
assertEquals(true,row.get("b") instanceof Float);
assertEquals(100.0F, row.get("b"));