Changeset e4fbdca535fbec5d48ea99980590efb124f68bcc

Show
Ignore:
Timestamp:
28/12/06 12:50:15 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1167306615 +0000
git-parent:

[93fc205217e742345bca680a0a3d057c8306abd1]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1167306615 +0000
Message:

Use RFC4648 test vectors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/test/url.c

    r64f0180 re4fbdca  
    8282    /* Base 64 tests */ 
    8383    test_b64 ("", ""); 
    84     test_b64 ("d", "ZA=="); 
    85     test_b64 ("ab", "YWI="); 
    86     test_b64 ("abc", "YWJj"); 
    87     test_b64 ("abcd", "YWJjZA=="); 
     84    test_b64 ("f", "Zg=="); 
     85    test_b64 ("fo", "Zm8="); 
     86    test_b64 ("foo", "Zm9v"); 
     87    test_b64 ("foob", "Zm9vYg=="); 
     88    test_b64 ("fooba", "Zm9vYmE="); 
     89    test_b64 ("foobar", "Zm9vYmFy"); 
    8890 
    8991    return 0;