Skip to content
Snippets Groups Projects
Commit f02c3d60 authored by Niels Möller's avatar Niels Möller
Browse files

New testcase.

Rev: src/nettle/testsuite/base64-test.c:1.1
parent bd0f12cc
No related branches found
No related tags found
No related merge requests found
#include "testutils.h"
#include "base64.h"
int
test_main(void)
{
test_armor(&nettle_base64, 0, "", "");
test_armor(&nettle_base64, 1, "H", "SA==");
test_armor(&nettle_base64, 2, "He", "SGU=");
test_armor(&nettle_base64, 3, "Hel", "SGVs");
test_armor(&nettle_base64, 4, "Hell", "SGVsbA==");
test_armor(&nettle_base64, 5, "Hello", "SGVsbG8=");
test_armor(&nettle_base64, 6, "Hello", "SGVsbG8A");
test_armor(&nettle_base64, 4, "\377\377\377\377", "/////w==");
SUCCESS();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment