17 lines
272 B
C
17 lines
272 B
C
|
/*
|
||
|
* Copyright 2015 (c) Anna Schumaker.
|
||
|
*/
|
||
|
#include <core/history.h>
|
||
|
#include <tests/test.h>
|
||
|
|
||
|
static void test_init()
|
||
|
{
|
||
|
struct queue *q = history_get_queue();
|
||
|
|
||
|
test_not_equal((void *)q, NULL);
|
||
|
}
|
||
|
|
||
|
DECLARE_UNIT_TESTS(
|
||
|
UNIT_TEST("History Initialization", test_init),
|
||
|
);
|