7 #include "model-assert.h"
16 static void task(void * param) {
19 printf("Steal NULL\n");
21 printf("Steal %d\n", a);
25 printf("Steal NULL\n");
27 printf("Steal %d\n", x);
31 int user_main(int argc, char **argv)
40 thrd_create(&t, task, 0);
49 printf("Take NULL\n");
51 printf("Take %d\n", b);
55 printf("Take NULL\n");
57 printf("Take %d\n", c);
62 if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
64 if (b!=1 && b!=2 && b!=4 && b!= EMPTY)
66 if (c!=1 && c!=2 && c!=4 && a!= EMPTY)
68 if (a!=EMPTY && b!=EMPTY && c!=EMPTY && (a+b+c)!=7)
71 printf("a=%d b=%d c=%d\n",a,b,c);
73 //MODEL_ASSERT(correct);