7 #include "model-assert.h"
16 static void task(void * param) {
20 printf("Steal NULL\n");
22 printf("Steal %d\n", a);
26 int user_main(int argc, char **argv)
35 thrd_create(&t, task, 0);
44 printf("Take NULL\n");
46 printf("Take %d\n", b);
50 printf("Take NULL\n");
52 printf("Take %d\n", c);
57 if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
59 if (b!=1 && b!=2 && b!=4 && b!= EMPTY)
61 if (c!=1 && c!=2 && c!=4 && a!= EMPTY)
63 if (a!=EMPTY && b!=EMPTY && c!=EMPTY && (a+b+c)!=7)
66 printf("a=%d b=%d c=%d\n",a,b,c);
68 //MODEL_ASSERT(correct);