ocarina/tests/core/version.c
Anna Schumaker 55a7673983 tests/core: Update version test to the new framework
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>
2015-10-07 08:19:45 -04:00

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),
);