FloatImg/experiment/tcache.c

29 lines
547 B
C
Raw Normal View History

2021-10-18 05:23:35 +11:00
/*
* tests du systeme de cache
*/
#include <stdio.h>
#include "cachengn.h"
2021-11-27 09:10:29 +11:00
#define IMGW 320
#define IMGH 240
#define SIZE 20
#define NBRI 1000
2021-10-18 05:23:35 +11:00
/* ------------------------------------------------------------ */
int main(int argc, char *argv[])
{
2021-11-27 09:10:29 +11:00
int foo;
2021-10-18 05:23:35 +11:00
fprintf(stderr, "Test of the cache engin - %s %s\n", __DATE__, __TIME__);
2021-11-27 09:10:29 +11:00
cachengn_print_version(1);
foo = init_empty_cache(IMGW, IMGH, SIZE, NBRI);
fprintf(stderr, "init_empty_cache --> %d\n", foo);
2021-10-18 05:23:35 +11:00
return 0;
}
/* ------------------------------------------------------------ */