add Test_Packbits()

This commit is contained in:
Thomas Bernard
2019-11-15 22:57:55 +01:00
parent cd1349fdab
commit 3ba4472626
6 changed files with 102 additions and 6 deletions

View File

@@ -27,7 +27,9 @@
/// Unit tests.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "../struct.h"
#include "../global.h"
#include "../gfx2log.h"
@@ -100,6 +102,7 @@ int main(int argc, char * * argv)
int i, r;
int fail = 0;
srandom(time(NULL));
GFX2_verbosity_level = GFX2_DEBUG;
for (i = 0; tests[i].test_func != 0; i++)