~ubuntu-branches/ubuntu/vivid/nettle/vivid-proposed

« back to all changes in this revision

Viewing changes to testsuite/base64-test.c

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-03-24 11:38:21 UTC
  • mfrom: (1.5.2)
  • mto: (8.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130324113821-47kc1q7ojsxmuevv
Tags: 2.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "testutils.h"
2
2
#include "base64.h"
3
3
 
4
 
int
 
4
void
5
5
test_main(void)
6
6
{
7
7
  ASSERT(BASE64_ENCODE_LENGTH(0) == 0);   /* At most   4 bits */
45
45
    
46
46
    ASSERT(MEMEQ(9, buffer, "HelloG8=x"));
47
47
  }
48
 
  
49
 
  SUCCESS();
50
48
}