test/_test_template_cc
author Edouard Tisserant
Thu, 05 Nov 2015 18:14:06 +0100
changeset 381 87e3895c327f
parent 53 d9eacd197962
child 1045 3b77f5e254c1
permissions -rw-r--r--
Change test pub keys file names to match usual namimg in attachements
     1 #include <iostream>
     2 #include <string>
     3 #include <assert.h>
     4 #include "MODULE.h"
     5 
     6 using namespace std;
     7 
     8 int main() {
     9     cout << "\n*** MODULE_test ***\n\n";
    10 
    11     PEP_SESSION session;
    12     
    13     cout << "calling init()\n";
    14     PEP_STATUS status1 = init(&session);   
    15     assert(status1 == PEP_STATUS_OK);
    16     assert(session);
    17     cout << "init() completed.\n";
    18 
    19     // MODULE test code
    20 
    21 
    22     cout << "calling release()\n";
    23     release(session);
    24     return 0;
    25 }
    26