Can I add more information to the result of an assertEquals(double expected, double actual) call so that I can easily identify the rows that mismatch?
There is a method assertEquals(ITable expectedTable, ITable actualTable, Column[] additionalColumnInfo) that allows to specify additional columns as third parameter. If two rows are not equal the values of the given columns are printed out in the assertion text. Assertion.assertEquals(iTableExpected, iTableActual, new Column[] {new Column(“COLUMN0”, DataType.
Related Questions
- Can I add more information to the result of an assertEquals(double expected, double actual) call so that I can easily identify the rows that mismatch?
- Is there an equivalent to JUnits assertEquals(double expected, double actual, double delta) to define a tolerance level when comparing numeric values?
- HOW CAN YOU EASILY IDENTIFY DEPENDENT AND INDEPENDENT VARIABLES?