7 int main(int argc
, char **argv
)
11 int status
= VideoInit();
17 fprintf(stderr
, "%s\n", UMD_GetError());
21 if (UMD_Warp(100, 100) < 0) {
22 fprintf(stderr
, "%s\n", UMD_GetError());
28 if (UMD_Move(-25, 50) < 0) {
29 fprintf(stderr
, "%s\n", UMD_GetError());
33 CollectInput(&x
, &y
, &button
);
36 fprintf(stderr
, "%s\n", UMD_GetError());
42 if (x
!= 75 || y
!= 150) {
43 fprintf(stderr
, "Got\t%d\t%d\n", x
, y
);
44 fprintf(stderr
, "Expected\t75\t150\n");
45 fprintf(stderr
, "Test failed\n");
49 printf("Test successful!\n");