test: Add tests for isd_get_commercial_credit()
[libisds.git] / test / offline / init_gpgpme.c
blob8d4a8c9c2b4b350976e016060f589272b0786213
1 #include "../test.h"
2 #include "crypto.h"
4 static int test_init_gpgme(const isds_error error) {
5 isds_error err;
7 err = _isds_init_gpgme(NULL);
8 if (err != error)
9 FAIL_TEST("Wrong return value");
11 PASS_TEST;
14 int main(int argc, char **argv) {
16 INIT_TEST("init_gpgme");
18 TEST("initialization", test_init_gpgme, IE_SUCCESS);
20 SUM_TEST();