diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-12 08:47:06 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-12 08:47:06 -0700 |
commit | 54e4548dd1695c94f580302b637fe427be995c2a (patch) | |
tree | 66ea8622eead90b1373cbf8bfaf5f01c5d829011 /002test.cc | |
parent | 66083e54a0a122e0b9f396ee32ee632065ecbb66 (diff) | |
download | mu-54e4548dd1695c94f580302b637fe427be995c2a.tar.gz |
1354
Diffstat (limited to '002test.cc')
-rw-r--r-- | 002test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/002test.cc b/002test.cc index 72f083bb..0b445526 100644 --- a/002test.cc +++ b/002test.cc @@ -23,7 +23,7 @@ long Num_failures = 0; #define CHECK(X) \ if (!(X)) { \ ++Num_failures; \ - cerr << "\nF " << __FUNCTION__ << "(" << __FILE__ << ":" << __LINE__ << "): " << #X << '\n'; \ + cerr << "\nF - " << __FUNCTION__ << "(" << __FILE__ << ":" << __LINE__ << "): " << #X << '\n'; \ Passed = false; \ return; /* Currently we stop at the very first failure. */ \ } @@ -31,7 +31,7 @@ long Num_failures = 0; #define CHECK_EQ(X, Y) \ if ((X) != (Y)) { \ ++Num_failures; \ - cerr << "\nF " << __FUNCTION__ << "(" << __FILE__ << ":" << __LINE__ << "): " << #X << " == " << #Y << '\n'; \ + cerr << "\nF - " << __FUNCTION__ << "(" << __FILE__ << ":" << __LINE__ << "): " << #X << " == " << #Y << '\n'; \ cerr << " got " << (X) << '\n'; /* BEWARE: multiple eval */ \ Passed = false; \ return; /* Currently we stop at the very first failure. */ \ |