mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:24:24 +01:00
25 lines
510 B
C
25 lines
510 B
C
/* See LICENSE file for license and copyright information */
|
|
|
|
#include <check.h>
|
|
|
|
#include "../zathura.h"
|
|
|
|
START_TEST(test_create) {
|
|
zathura_t* zathura = zathura_init(0, NULL);
|
|
fail_unless(zathura != NULL, "Could not create session", NULL);
|
|
zathura_free(zathura);
|
|
} END_TEST
|
|
|
|
Suite* suite_session()
|
|
{
|
|
TCase* tcase = NULL;
|
|
Suite* suite = suite_create("Session");
|
|
|
|
/* basic */
|
|
tcase = tcase_create("basic");
|
|
tcase_add_test(tcase, test_create);
|
|
suite_add_tcase(suite, tcase);
|
|
|
|
return suite;
|
|
}
|