21 lines
399 B
C
21 lines
399 B
C
/*
|
|
* Copyright 2015 (c) Anna Schumaker.
|
|
*/
|
|
#include <gui/settings.h>
|
|
#include <tests/test.h>
|
|
|
|
static void test_settings()
|
|
{
|
|
test_equal((void *)test_get_gui_settings(), NULL);
|
|
|
|
gui_settings_init();
|
|
test_not_equal((void *)test_get_gui_settings(), NULL);
|
|
|
|
gui_settings_deinit();
|
|
test_equal((void *)test_get_gui_settings(), NULL);
|
|
}
|
|
|
|
DECLARE_UNIT_TESTS(
|
|
UNIT_TEST("Settings", test_settings),
|
|
);
|