427319b72e
I'm going to use this for saving album art to the right place. I moved it into an include file to avoid duplicating code. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
16 lines
276 B
C
16 lines
276 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);
|
|
test_equal(OCARINA_NAME, "ocarina-test");
|
|
}
|
|
|
|
DECLARE_UNIT_TESTS(
|
|
UNIT_TEST("Version", test_version),
|
|
);
|