test/sequence_test.cc
branchkeysync
changeset 1088 f90f74a12d49
parent 1086 3de792de7bba
child 1202 0d89f70f9e73
     1.1 --- a/test/sequence_test.cc	Mon Aug 29 12:48:11 2016 +0200
     1.2 +++ b/test/sequence_test.cc	Mon Aug 29 13:22:58 2016 +0200
     1.3 @@ -51,6 +51,12 @@
     1.4      assert(status6 == PEP_OWN_SEQUENCE);
     1.5      cout << "UUID created: " << name2 << "\n";
     1.6  
     1.7 +    cout << "set sequence value\n";
     1.8 +    int32_t value6 = value2 + 10;
     1.9 +    PEP_STATUS status7 = sequence_value(session, name1, &value6);
    1.10 +    assert(status7 == PEP_STATUS_OK);
    1.11 +    cout << "value set to " << value6 << "\n";
    1.12 +
    1.13      cout << "calling release()\n";
    1.14      release(session);
    1.15      return 0;