Object expectedValue = expectedTable.getValue(i, columnName);
Object actualValue = actualTable.getValue(i, columnName);
DataType dataType = getComparisonDataType(
expectedTableName, expectedColumn, actualColumn);
if (dataType.compare(expectedValue, actualValue) != 0)
{
Assert.fail("value (table=" + expectedTableName + ", " +
"row=" + i + ", col=" + columnName + "): expected:<" +
expectedValue + "> but was:<" + actualValue + ">");
}