ocarina/tests/core/version.c
Anna Schumaker 427319b72e core/file: Move OCARINA_NAME configuration into version.h
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>
2016-06-24 10:50:37 -04:00

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