Test library for MTS Socket Modem Arduino Shield devices for Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas ... more
Test.h
- Committer:
- Mike Fiore
- Date:
- 2015-06-25
- Revision:
- 13:cc03c4e85c69
- Parent:
- 1:42d2b6980cdd
File content as of revision 13:cc03c4e85c69:
#ifndef TEST_H #define TEST_H #include <string> namespace mts { class Test { public: static void start(std::string testName); static void assertTrue(bool condition); static void assertFalse(bool condition); static void end(); static void clearTotals(); static int getTotalTests(); static int getTotalFailed(); static void printPassed(bool print); static void printFailed(bool print); private: static std::string testName; static bool inProgress; static int totalTests; static int totalFailed; static int failed; static bool pPassed; static bool pFailed; }; } #endif