Tests actually work now (they need SDL to compile)
[umd.git] / tests / basic.c
blob2868c94ec4094da579d58849a582076ea15f3b9e
1 #include "umd.h"
2 #include <stdio.h>
3 #include <unistd.h>
5 int main(int argc, char **argv)
7 if (UMD_Init() < 0) {
8 fprintf(stderr, "%s\n", UMD_GetError());
9 return 1;
12 if (UMD_Quit() < 0) {
13 fprintf(stderr, "%s\n", UMD_GetError());
14 return 2;
17 printf("Test successful!\n");
19 return 0;