summaryrefslogtreecommitdiff
path: root/src/tests/eeze/eeze_test_init.c
blob: 6c72acbd1910d779823946aaa7948e9133f4e9a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include <Eeze.h>

#include "eeze_suite.h"

START_TEST(eeze_test_eeze_init)
{
   int ret;

   ret = eeze_init();
   fail_if(ret != 1);

   ret = eeze_shutdown();
   fail_if(ret != 0);
}
END_TEST

void eeze_test_init(TCase *tc)
{
   tcase_add_test(tc, eeze_test_eeze_init);
}