// /****************************\ // * EXPERIMENTAL BRANCH. * // * FOR LABORATORY USE ONLY. * // ******************************** // ************ // ************** // **************** // **** **** **** // *** *** *** // *** *** *** // *** * * ** // ******** ******** // ******* ****** // *** ** // * ******* ** // ** * * * * * // ** * * *** // **** * * * * **** // **** *** * * ** *** // **** ********* ****** // ******* ***** ******* // ********* ****** ** // ** ****** ****** // ** ******* ** // ** ******* *** // **** ******** ************ // ************ ************ // ******** ******* // ****** **** // *** *** // ******************************** #include #include "../util.h" BOOST_AUTO_TEST_SUITE(base64_tests) BOOST_AUTO_TEST_CASE(base64_testvectors) { static const string vstrIn[] = {"","f","fo","foo","foob","fooba","foobar"}; static const string vstrOut[] = {"","Zg==","Zm8=","Zm9v","Zm9vYg==","Zm9vYmE=","Zm9vYmFy"}; for (int i=0; i