this is a class for unit testing

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

UnitTest.h

Committer:
sPymbed
Date:
4 weeks ago
Revision:
3:658ba851ab74
Parent:
1:652e6df36e5d

File content as of revision 3:658ba851ab74:

#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