Changeset e073081
- Timestamp:
- Jul 9, 2011, 3:56:20 PM (13 years ago)
- Children:
- 37ac344
- Parents:
- 5aab6559
- git-author:
- David Benjamin <davidben@mit.edu> (06/25/11 14:05:30)
- git-committer:
- David Benjamin <davidben@mit.edu> (07/09/11 15:56:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tester.c
r5aab6559 re073081 129 129 #define FAIL_UNLESS(desc,pred) do { int __pred = (pred); \ 130 130 numtests++; \ 131 printf("%s % s", (__pred)?"ok":(numfailed++,"not ok"), desc);\131 printf("%s %d %s", (__pred) ? "ok" : (numfailed++, "not ok"), numtests, desc); \ 132 132 if(!(__pred)) printf("\t(%s:%d)", __FILE__, __LINE__); printf("%c", '\n'); } while(0) 133 133
Note: See TracChangeset
for help on using the changeset viewer.