#include #include #include #define TEST1(o1,o2)\ settype(&t1, 0);\ t1.sc = t2.o1 << t3.o2;\ t1.uc = t2.o1 << t3.o2;\ t1.sh = t2.o1 << t3.o2;\ t1.uh = t2.o1 << t3.o2;\ t1.sl = t2.o1 << t3.o2;\ t1.ul = t2.o1 << t3.o2;\ t1.sb = t2.o1 << t3.o2;\ t1.ub = t2.o1 << t3.o2;\ tsttype1(&t1, &a1, "o1", "o2"); #define TEST(o)\ TEST1(o,sc);\ TEST1(o,uc);\ TEST1(o,sh);\ TEST1(o,uh);\ TEST1(o,sl);\ TEST1(o,ul);\ TEST1(o,sb);\ TEST1(o,ub);\ #define TESTa(o)\ settype(&t1, A);\ t1.sc <<= t2.o;\ t1.uc <<= t2.o;\ t1.sh <<= t2.o;\ t1.uh <<= t2.o;\ t1.sl <<= t2.o;\ t1.ul <<= t2.o;\ t1.sb <<= t2.o;\ t1.ub <<= t2.o;\ tsttype1(&t1, &a1, "o", ""); #define A 12 #define B 3 #define C (A<