wolfssl/tests/unit.c

17 lines
280 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
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;
}