1
1

added macro to test and report

This commit was SVN r1909.
Этот коммит содержится в:
Laura Casswell 2004-08-05 19:50:54 +00:00
родитель 097ad1a1bc
Коммит 06686b08d4

Просмотреть файл

@ -8,6 +8,10 @@
#include <stdio.h>
#include <stdlib.h>
#define TEST_AND_REPORT(res, exp_res, str) \
if( res == exp_res ) test_success(); \
else test_failure(str);
void test_init(char *a);
void test_success(void);
void test_failure(char *a);