@Test
public void testSetBoolean() throws IOException {

  ColumnType[] types = {
    STRING, STRING, INTEGER, INTEGER, INTEGER,
    INTEGER, DOUBLE, DOUBLE, DOUBLE, BOOLEAN,
    INTEGER, INTEGER, INTEGER, DOUBLE, DOUBLE
  };
  Table table =
      Table.read()
          .csv(CsvReadOptions.builder(new File("../data/baseball.csv")).columnTypes(types));
  Row row = new Row(table);
  while (row.hasNext()) {
    row.next();
    Boolean rowVal = table.booleanColumn("Playoffs").get(row.getRowNumber());
    row.setBoolean("Playoffs", !rowVal);
    assertEquals(!rowVal, row.getBoolean(9));
    row.setBoolean("Playoffs", rowVal);
    assertEquals(rowVal, row.getBoolean("Playoffs"));
  }
}