ocarina/tests/core/version.cpp
Anna Schumaker 77fc2fff5c version: Add a "+" to version string
I use this to show that there have been any changes since the last
release.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-01-26 08:43:14 -05:00

17 lines
276 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <core/version.h>
#include <tests/test.h>
static void test_version()
{
test_equal((std::string)get_version(), CONFIG_VERSION);
}
int main(int argc, char **argv)
{
test :: run("Version Test", test_version);
return 0;
}