this is a class for unit testing
This is an UnitTest library. You can use for POST.
Diff: UnitTest.h
- Revision:
- 1:652e6df36e5d
- Parent:
- 0:b8a9485ea4f3
- Child:
- 3:658ba851ab74
--- a/UnitTest.h Wed Nov 01 13:00:17 2017 +0000 +++ b/UnitTest.h Wed Nov 01 13:09:48 2017 +0000 @@ -3,6 +3,10 @@ #include "mbed.h" +//!Library for unit testing +/*! +This is an unit test class +*/ class UnitTest { private: @@ -10,8 +14,19 @@ unsigned int testCount; public: + /** + * This is the start point of the unit test + */ void start(); + + /** + * This is the end point of the unit test + */ void end(); + + /** + * This is a test function + */ void assert(int, int); };