31,6 → 31,7 |
*/ |
|
/** @file |
* Self tests implementation. |
*/ |
|
#include "configuration.h" |
49,6 → 50,11 |
|
#include "self_test.h" |
|
/** Tests the function, compares the result and remembers if the result differs. |
* @param name The test name. Input parameter. |
* @param function_call The function to be called and checked. Input parameter. |
* @param result The expected result. Input parameter. |
*/ |
#define TEST( name, function_call, result ); { \ |
printf( "\n\t%s", ( name )); \ |
if(( function_call ) != ( result )){ \ |