public void columnFilter() { String actual; using (Pnyx p = new Pnyx()) { p.readString(PLANETS_GODS); p.parseCsv(); p.columnFilter(3, new Grep { textToFind = "titan", caseSensitive = false }); actual = p.processToString(); } Assert.Equal(PLANETS_GODS_TITANS, actual); using (Pnyx p = new Pnyx()) { p.readString(PLANETS_GODS); p.parseCsv(); p.columnFilter(1, new Grep { textToFind = "titan", caseSensitive = false }); actual = p.processToString(); } Assert.Equal("", actual); }