21 lines
381 B
C
21 lines
381 B
C
/*
|
|
* Copyright 2016 (c) Anna Schumaker.
|
|
*/
|
|
#include <gui/model.h>
|
|
#include <tests/test.h>
|
|
|
|
static void test_model()
|
|
{
|
|
GuiQueueModel *model = gui_queue_model_new();
|
|
|
|
test_not_equal((void *)model, NULL);
|
|
test_equal(GTK_IS_TREE_MODEL(model), true);
|
|
|
|
g_object_unref(model);
|
|
test_equal(G_IS_OBJECT(model), false);
|
|
}
|
|
|
|
DECLARE_UNIT_TESTS(
|
|
UNIT_TEST("Queue Model", test_model),
|
|
);
|