this is a class for unit testing
This is an UnitTest library. You can use for POST.
UnitTest.h
- Committer:
- sPymbed
- Date:
- 2019-11-20
- Revision:
- 4:13e7349640c0
- Parent:
- 3:658ba851ab74
File content as of revision 4:13e7349640c0:
#ifndef UnitTest_h #define UnitTest_h #include "mbed.h" //!Library for unit testing /*! This is an unit test class */ class UnitTest { private: Timer unitTest; 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 assertOn(int, int); }; #endif