Files
wolfssl/tests/unit.c

22 lines
324 B
C
Raw Normal View History

2011-12-14 09:20:46 -08:00
/* unit.c unit tests driver */
#include <stdio.h>
2011-12-14 10:02:05 -08:00
#include "unit.h"
2011-12-14 09:20:46 -08:00
2012-08-02 13:41:40 -07:00
int myoptind = 0;
char* myoptarg = NULL;
2011-12-14 09:20:46 -08:00
int main(int argc, char** argv)
{
printf("hello unit tests\n");
2011-12-14 10:02:05 -08:00
if (ApiTest() != 0)
printf("api test failed\n");
2011-12-14 10:55:19 -08:00
if (HashTest() != 0)
printf("hash test failed\n");
2011-12-14 09:20:46 -08:00
return 0;
}