/* * Copyright 2013 (c) Anna Schumaker. */ #include #include #ifdef CONFIG_DEBUG const std::string expected = "6.3-debug"; #else const std::string expected = "6.3"; #endif /* CONFIG_DEBUG */ static void test_version() { test_equal((std::string)get_version(), expected); } int main(int argc, char **argv) { run_test("Version Test", test_version); return 0; }