1
/*******************************************************************************
2
**3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
3
** 10 20 30 40 50 60 70 80
12
** Mirco "MacSlow" Mueller <mirco.mueller@canonical.com>
13
** David Barth <david.barth@canonical.com>
15
** copyright (C) Canonical, oct. 2008
17
*******************************************************************************/
29
g_assert (stack != NULL);
40
/*g_assert (stack == NULL);*/
44
test_stack_get_next_id ()
50
id = stack_get_next_id (stack);
51
g_assert_cmpint (id, ==, 1);
52
id = stack_get_next_id (stack);
53
g_assert_cmpint (id, ==, 2);
54
id = stack_get_next_id (stack);
55
g_assert_cmpint (id, ==, 3);