2 * Acess2 C Library (Test)
3 * - By John Hodge (thePowersGang)
10 #define TST(t, class, base, val, exp, fmt) do {\
11 t ret = strto##class(#val, NULL, base); \
13 printf("FAIL strto"#class"('"#val"') != "#val" (act 0x"fmt")\n", ret);\
16 int main(int argc, char *argv[])
18 TST(unsigned long, ul, 0, 0x10ec, 0x10ec, "%x");