Functions | Variables

testBase64.cpp File Reference

#include "crypto/crypto.h"
#include <iostream>
#include "common/wave_ex.h"
#include "perf/perf.h"
Include dependency graph for testBase64.cpp:

Go to the source code of this file.


static void doTest (const char *data, const char *expected)
int main (int argc, const char *argv[])


static const test_t s_tests []

Function Documentation

static void doTest ( const char *  data,
const char *  expected 
) [static]

Definition at line 73 of file testBase64.cpp.

int main ( int  argc,
const char *  argv[] 

Definition at line 121 of file testBase64.cpp.

Variable Documentation

const test_t s_tests[] [static]
Initial value:
        { "test",                       "AAAFc2V0AAB0" },
        { "y",                          "AAACAAB5" },
        { "",                           "AAABAAAA" },
        { "This is a much longer string!  Yes, verily.",
           "AAAsaWhUaSBzYSBzdW0gIGhjbm9scmVndHMgbmlyICFnZVkgICxzcmV2eWxpAAAu" },
        { "00000000123456789abcdefghijklmnopqrstruvwxyz",

        { NULL, NULL }

Definition at line 49 of file testBase64.cpp.