ocarina/tests/core/version.cpp

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;
}