forked from enlightenment/efl
eina: Updated test case to test more scenario.
Summary: The test cases which I took from wikipedia didn't have the characters '/' and '+' in the encoded string. So added test case testing these. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3405
This commit is contained in:
parent
1f31a714de
commit
05cfb0604c
|
@ -383,7 +383,10 @@ START_TEST(str_base64_encode)
|
|||
{ "leasure.", "bGVhc3VyZS4=", 8 },
|
||||
{ "easure.", "ZWFzdXJlLg==", 7 },
|
||||
{ "asure.", "YXN1cmUu", 6 },
|
||||
{ "sure.", "c3VyZS4=", 5 }
|
||||
{ "sure.", "c3VyZS4=", 5 },
|
||||
/* The following 2 cases are manually generated for '-' and '/' testing*/
|
||||
{ "aabc123!?", "YWFiYzEyMyE/", 9 },
|
||||
{ "abc123!?$*&()'-=@~", "YWJjMTIzIT8kKiYoKSctPUB+", 18 }
|
||||
};
|
||||
unsigned int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue