diff options
| author | hathach <[email protected]> | 2013-01-31 11:47:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-31 11:47:07 +0700 |
| commit | bef17fb67fc283cdc8cbda068d122c2a95c3b880 (patch) | |
| tree | a03377deb8b7cefbad31105e9058305d5e6ebe5a /tests | |
| parent | eca87e5ee54f688372d2d34ee51dc3f72947d604 (diff) | |
add version macros
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test/test_project_settings.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/test/test_project_settings.c b/tests/test/test_project_settings.c index 79e3d426d..fdc0162da 100644 --- a/tests/test/test_project_settings.c +++ b/tests/test/test_project_settings.c @@ -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); +} |
