Am 03.06.2018 21:39 schrieb Tobias Deiminger:
Am 03.06.2018 08:05 schrieb Dileep Sankhla:
Ups, I misread the question
What will I compare here?
as "what will compare here?"
GUI tests compare with autotests/parttest.cpp. Core tests potentially compare with autotests/*annot*.cpp Afaikt there are no tests yet that check painting results pixel wise.
New answer: You compare actual outcome with expected outcome. What actual outcome and expected outcome means depends on your test case. You have to define it.
Tobias