Functions | Variables

testBase64.cpp File Reference

#include "wave-crypto/wave-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.

Functions

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

Variables

static const test_t s_tests []

Function Documentation

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

Definition at line 73 of file testBase64.cpp.

static void doDwordTest ( IN dword_t  dw  )  [static]

Definition at line 115 of file testBase64.cpp.

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

Definition at line 135 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",
           "AAAtMDAwMDAwMTAwNDMyNzY1YTk4ZGNiZ2ZlamlobWxrcG9uc3JxdXJ0eHd2AHp5"},

        
        { NULL, NULL }
}

Definition at line 49 of file testBase64.cpp.