this is a class for unit testing

Dependents:   OS

This is an UnitTest library. You can use for POST.

Committer:
sPymbed
Date:
Wed Nov 01 13:00:17 2017 +0000
Revision:
0:b8a9485ea4f3
Child:
1:652e6df36e5d
initial version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sPymbed 0:b8a9485ea4f3 1 #ifndef UnitTest_h
sPymbed 0:b8a9485ea4f3 2 #define UnitTest_h
sPymbed 0:b8a9485ea4f3 3
sPymbed 0:b8a9485ea4f3 4 #include "mbed.h"
sPymbed 0:b8a9485ea4f3 5
sPymbed 0:b8a9485ea4f3 6 class UnitTest
sPymbed 0:b8a9485ea4f3 7 {
sPymbed 0:b8a9485ea4f3 8 private:
sPymbed 0:b8a9485ea4f3 9 Timer unitTest;
sPymbed 0:b8a9485ea4f3 10 unsigned int testCount;
sPymbed 0:b8a9485ea4f3 11
sPymbed 0:b8a9485ea4f3 12 public:
sPymbed 0:b8a9485ea4f3 13 void start();
sPymbed 0:b8a9485ea4f3 14 void end();
sPymbed 0:b8a9485ea4f3 15 void assert(int, int);
sPymbed 0:b8a9485ea4f3 16 };
sPymbed 0:b8a9485ea4f3 17
sPymbed 0:b8a9485ea4f3 18 #endif