SDFM_CONROL_TEAST_EFC/EFC_PlatformC28xTest/UnitTestInterface.hh
2024-10-11 09:35:38 +03:00

33 lines
502 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* UnitTestInterface.hh
*
* Created on: 25 сент. 2078 г.
* Author: leonid
*/
#ifndef UNITTESTINTERFACE_HH_
#define UNITTESTINTERFACE_HH_
#include <string>
namespace umlib { namespace tests {
struct TestResult {
virtual void assert_false( bool, std::string description ) = 0;
virtual void assert_true( bool, std::string description ) = 0;
};
struct UnitTestInterface {
virtual void run( TestResult & test_result ) = 0;
};
}}
#endif /* UNITTESTINTERFACE_HH_ */