[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Refactor directories; add unit tests; add router keyword
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv27084/common
Modified Files:
test.h
Log Message:
Refactor directories; add unit tests; add router keyword
Index: test.h
===================================================================
RCS file: /home/or/cvsroot/src/common/test.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- test.h 17 Apr 2003 01:55:13 -0000 1.4
+++ test.h 6 May 2003 17:38:14 -0000 1.5
@@ -63,7 +63,7 @@
char *v1=(expr1), *v2=(expr2); \
if(!strcmp(v1,v2)) { printf("."); } else { \
printf("\nFile %s: line %d (%s): Assertion failed: (%s==%s)\n"\
- " (%s != %s)\n", \
+ " (\"%s\" != \"%s\")\n", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@@ -77,7 +77,7 @@
char *v1=(expr1), *v2=(expr2); \
if(strcmp(v1,v2)) { printf("."); } else { \
printf("\nFile %s: line %d (%s): Assertion failed: (%s!=%s)\n"\
- " (%s == %s)\n", \
+ " (\"%s\" == \"%s\")\n", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \