public void TableDataIsMatchCustomComparerThrows() { var other = new TableData(); other.ColumnNames = tableData.ColumnNames; var strategy = new TableDataComparerStrategyFactory().Comparer(TableDataComparers.OrdinalRowOrdinalColumn); tableData.VerifyMatch(other, strategy); }
public void TableDataIsMatchCustomComparer() { var other = new TableData(); other.ColumnNames = tableData.ColumnNames; other.Rows = tableData.Rows; var strategy = new TableDataComparerStrategyFactory().Comparer(TableDataComparers.OrdinalRowOrdinalColumn); bool actual = tableData.IsMatch(other, strategy); Assert.IsTrue(actual); }