Re: [Dclib-devel] Base64 error?
Brought to you by:
davisking
From: Davis K. <dav...@us...> - 2008-10-22 20:50:36
|
Where did you get the string "Y3JheWhhbGZsaWZlCg=="? Not everyone on the net necessairly agrees what a base64 encoding of something is. -Davis On Wed, Oct 22, 2008 at 10:46 AM, Steven Van Ingelgem <st...@va... > wrote: > Test/base64.cpp > > const string wiki_normal = "crayhalflife"; > const string wiki_encoded = "Y3JheWhhbGZsaWZlCg=="; > > This returns: > Running test_base64 | > > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > !!!!!!!!!!!!!!!!!!!!!!!!!!!!! TEST FAILED: test_base64 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > Failure message from test: > > Error occurred at line 56. > Error occurred in file C:\TEMP\mimemailer\externals\dlib\test\base64.cpp. > Error occurred in function void <unnamed>::base64_kernel_test() [with > base64 = dlib::base64_kernel_1]. > > Failing expression was sout.str() == wiki_normal. > sout.str(): crayhalflife > > wiki_normal: crayhalflife > > > > Testing Finished > Number of failed tests: 1 > Number of passed tests: 0 > > > If I look ok, this is the same? > |