FloatImg/experiment/tcache.c

29 lines
547 B
C
Raw Normal View History

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