Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
10 Posted

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?

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.