2018-10-19 11:42:53 +08:00
|
|
|
#include "extensions.h"
|
|
|
|
#include "misc.h"
|
|
|
|
|
|
|
|
static int TESTS = []
|
|
|
|
{
|
2018-10-31 08:50:50 +08:00
|
|
|
assert(ParseCode("/HQN936#-c*C:C*1C@4AA:gdi.dll:GetTextOutA"));
|
2018-10-19 11:42:53 +08:00
|
|
|
assert(ParseCode("/HB4@0"));
|
|
|
|
assert(ParseCode("/RS*10@44"));
|
|
|
|
assert(!ParseCode("HQ@4"));
|
|
|
|
assert(!ParseCode("/RW@44"));
|
|
|
|
assert(!ParseCode("/HWG@33"));
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}();
|