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
#include "testutils.h"
#include "base64.h"
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==");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment