ssl_des/t/tests.c

25 lines
810 B
C
Raw Normal View History

2018-10-18 21:57:26 +03:00
#include "tests.h"
MunitTest md5_tests[] = {
IT("/zeroes_ctx", should_init_ctx, NULL, NULL, 0, NULL),
2018-10-20 20:56:18 +03:00
IT("/updates_ctx_count", update_should_change_count, NULL, NULL, 0, NULL),
IT("/decode_string_to_int", decode_string_to_int, NULL, NULL, 0, NULL),
IT("/encode_bits_to_string", encode_bits_to_string, NULL, NULL, 0, NULL),
IT("/encode_register", encode_register, NULL, NULL, 0, NULL),
IT("/creates_digest", create_digest, NULL, NULL, 0, NULL),
IT("/creates_string", create_string, NULL, NULL, 0, NULL),
2018-10-18 21:57:26 +03:00
END_IT
};
static const MunitSuite suite = {
(char *)"/md5_suite", /* name */
md5_tests, /* tests */
NULL, /* suites */
1, /* iterations */
MUNIT_SUITE_OPTION_NONE /* options */
};
2018-10-20 20:56:18 +03:00
int main(int argc, char** argv)
2018-10-18 21:57:26 +03:00
{
return munit_suite_main(&suite, NULL, argc, argv);
}