summaryrefslogtreecommitdiffstats
path: root/test.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-05 14:16:37 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-05 14:16:37 -0400
commit6f811f1fddbea0bc4e7005905f078e68d21e73a1 (patch)
tree5dcd696eaa631d212ad5e78ecdbc0d84f3478b68 /test.cc
parent2897cb7a480b64a8817b02777c8a111bc5a87fed (diff)
downloadvecmathlib-6f811f1fddbea0bc4e7005905f078e68d21e73a1.zip
vecmathlib-6f811f1fddbea0bc4e7005905f078e68d21e73a1.tar.gz
More debug output
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.cc b/test.cc
index 11510b2..dcc5fbe 100644
--- a/test.cc
+++ b/test.cc
@@ -146,7 +146,11 @@ struct vecmathlib_test {
for (int i=0; i<realvec_t::size; ++i) {
isbad2.set_elt(i, x[i] != xwant[i]);
}
- cout << "x=" << x << " [" << hex(x) << "]\n"
+ const boolvec_t isfalse(false);
+ const boolvec_t istrue(true);
+ cout << "isfalse=" << isfalse << " [" << hex(isfalse) << "]\n"
+ << "istrue=" << istrue << " [" << hex(istrue) << "]\n"
+ << "x=" << x << " [" << hex(x) << "]\n"
<< "xwant=" << xwant << " [" << hex(xwant) << "]\n"
<< "isgood=" << isgood << " [" << hex(isgood) << "]\n"
<< "isbad=" << isbad << " [" << hex(isbad) << "]\n"
OpenPOWER on IntegriCloud