7 #include "model-assert.h"
17 static void task(void * param) {
20 printf("Steal NULL\n");
22 printf("Steal %d\n", a);
27 printf("Steal NULL\n");
29 printf("Steal %d\n", x);
33 int user_main(int argc, char **argv)
38 thrd_create(&t, task, 0);
47 printf("Take NULL\n");
49 printf("Take %d\n", b);
53 printf("Take NULL\n");
55 printf("Take %d\n", c);
60 if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
62 if (b!=1 && b!=2 && b!=4 && b!= EMPTY)
64 if (c!=1 && c!=2 && c!=4 && a!= EMPTY)
66 if (a!=EMPTY && b!=EMPTY && c!=EMPTY && (a+b+c)!=7)
69 printf("a=%d b=%d c=%d\n",a,b,c);
71 //MODEL_ASSERT(correct);