diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_world.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_world.c b/test/test_world.c index a7728037..8045d1bf 100644 --- a/test/test_world.c +++ b/test/test_world.c @@ -38,10 +38,22 @@ test_get_blank(void) serd_world_free(world); } +static void +test_nodes(void) +{ + SerdWorld* const world = serd_world_new(); + SerdNodes* const nodes = serd_world_nodes(world); + + assert(serd_nodes_size(nodes) > 0u); + + serd_world_free(world); +} + int main(void) { test_get_blank(); + test_nodes(); return 0; } |