6 int main(int argc
, char **argv
)
8 int x
= 0, y
= 0, button
= 0;
10 int status
= VideoInit();
16 fprintf(stderr
, "%s\n", UMD_GetError());
20 if (UMD_Warp(100, 100) < 0) {
21 fprintf(stderr
, "%s\n", UMD_GetError());
25 CollectInput(&x
, &y
, &button
);
28 fprintf(stderr
, "%s\n", UMD_GetError());
34 if (x
!= 100 || y
!= 100) {
35 fprintf(stderr
, "Got\t%d\t%d\n", x
, y
);
36 fprintf(stderr
, "Expected\t100\t100\n");
37 fprintf(stderr
, "Test failed\n");
41 printf("Test successful!\n");