test/_test_template_cc
author Volker Birk <vb@pep.foundation>
Tue, 27 Dec 2016 21:13:41 +0100
changeset 1513 e7f7e42385b5
parent 1045 3b77f5e254c1
permissions -rw-r--r--
adding license info to each file
     1 // This file is under GNU General Public License 3.0
     2 // see LICENSE.txt
     3 
     4 #include <iostream>
     5 #include <string>
     6 #include <assert.h>
     7 #include "pEpEngine_test.h"
     8 #include "MODULE.h"
     9 
    10 using namespace std;
    11 
    12 int main() {
    13     cout << "\n*** MODULE_test ***\n\n";
    14 
    15     PEP_SESSION session;
    16     
    17     cout << "calling init()\n";
    18     PEP_STATUS status1 = init(&session);   
    19     ASSERT_STATUS(status1);
    20     assert(session);
    21     cout << "init() completed.\n";
    22 
    23     // MODULE test code
    24 
    25 
    26     cout << "calling release()\n";
    27     release(session);
    28     return 0;
    29 }
    30