add version macros

This commit is contained in:
hathach
2013-01-31 11:47:07 +07:00
parent eca87e5ee5
commit bef17fb67f
3 changed files with 22 additions and 3 deletions
+12 -1
View File
@@ -36,6 +36,11 @@
*/
#include "unity.h"
#include "common.h"
#include "tusb_option.h"
#define LATEST_VERSION "00.00"
#define LATEST_VERSION_NAME "alpha"
void setUp(void)
{
@@ -45,7 +50,13 @@ void tearDown(void)
{
}
void test_project_memory()
void test_memory_usage(void)
{
TEST_IGNORE_MESSAGE("Try to keep project total memory usage up-to-date");
}
void test_latest_version(void)
{
TEST_ASSERT_EQUAL_STRING(LATEST_VERSION, TUSB_VERSION);
TEST_ASSERT_EQUAL_STRING(LATEST_VERSION_NAME, TUSB_VERSION_NAME);
}