2015-08-21 00:48:23 -04:00
|
|
|
/*
|
|
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#include <core/version.h>
|
|
|
|
#include <tests/test.h>
|
|
|
|
|
|
|
|
static void test_version()
|
|
|
|
{
|
|
|
|
test_equal(get_version(), CONFIG_VERSION);
|
2016-02-05 07:57:22 -05:00
|
|
|
test_equal(OCARINA_NAME, "ocarina-test");
|
2015-08-21 00:48:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
DECLARE_UNIT_TESTS(
|
|
|
|
UNIT_TEST("Version", test_version),
|
|
|
|
);
|