Textractor/GUI/tests.cpp

14 lines
304 B
C++
Raw Normal View History

2018-11-01 10:38:14 -04:00
#include "extendialog.h"
2018-10-18 23:42:53 -04:00
#include "misc.h"
static int TESTS = []
{
2018-10-30 20:50:50 -04:00
assert(ParseCode("/HQN936#-c*C:C*1C@4AA:gdi.dll:GetTextOutA"));
2018-10-18 23:42:53 -04:00
assert(ParseCode("/HB4@0"));
assert(ParseCode("/RS*10@44"));
assert(!ParseCode("HQ@4"));
assert(!ParseCode("/RW@44"));
assert(!ParseCode("/HWG@33"));
return 0;
}();