55a7673983
The version test is fairly simple, since it only tests the values set in a single header file. The remaining tests will be more challenging, since I'll have to modify core code and the test at the same time. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
15 lines
232 B
C
15 lines
232 B
C
/*
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
*/
|
|
#include <core/version.h>
|
|
#include <tests/test.h>
|
|
|
|
static void test_version()
|
|
{
|
|
test_equal(get_version(), CONFIG_VERSION);
|
|
}
|
|
|
|
DECLARE_UNIT_TESTS(
|
|
UNIT_TEST("Version", test_version),
|
|
);
|