1 #include <ccan/structeq/structeq.h>
2 #include <ccan/tap/tap.h>
8 STRUCTEQ_DEF(mydata, 0, start, end);
14 /* This is how many tests you plan to run */
19 ok1(mydata_eq(&a, &a));
22 ok1(mydata_eq(&a, &b));
25 ok1(!mydata_eq(&a, &b));
27 /* This exits depending on whether all tests passed */