shogun-toolbox/shogun — pull request #1658 by karlnapf (2013-09-22 14:02:28+00:00)
Title: suggestion for output in case of failing integration test

Before, a failing test showed a diff of the ascii version of the objects.

Since we are using CSGObject::equals now, this is not possible anymore.
The method provides detailed information of what is going on via SG_DEBUG however.

An idea would be to first check whether equals returns false, and if it does, set the log-level to debug, and run the thing again. Then set the io-level back to old value.

@sonney2k what do you think about this

I think even better would be to just have the stack trace of the different parameter returned by equals in some way since this pollutes the output. But it is better than nothing for now