wolfssl/tests/unit.c

17 lines
280 B
C
Raw Normal View History

2011-12-14 21:20:46 +04:00
/* unit.c unit tests driver */
#include <stdio.h>
2011-12-14 22:02:05 +04:00
#include "unit.h"
2011-12-14 21:20:46 +04:00
int main(int argc, char** argv)
{
printf("hello unit tests\n");
2011-12-14 22:02:05 +04:00
if (ApiTest() != 0)
printf("api test failed\n");
2011-12-14 22:55:19 +04:00
if (HashTest() != 0)
printf("hash test failed\n");
2011-12-14 21:20:46 +04:00
return 0;
}