public void GetRowsWithNullFirstName() { IRowFilter filter = new IsNullFilter(this.table.GetColumnPosition("FirstName")); RowList rows = this.table.ApplyFilter(filter); Assert.IsNotNull(rows); Assert.AreEqual(0, rows.Count); }
public void GetRowsWithNullAddress() { IRowFilter filter = new IsNullFilter(this.table.GetColumnPosition("Address")); RowList rows = this.table.ApplyFilter(filter); Assert.IsNotNull(rows); Assert.AreEqual(this.table.RowCount / 2, rows.Count); foreach (Row row in rows) Assert.IsNull(row["Address"]); }