#include "cetlib_except/exception.h"
#include <cassert>
#include <iomanip>
#include <iostream>
#include <string>
Go to the source code of this file.
Definition at line 9 of file Simple_t.cc.
13 char array[] =
"blue";
16 e <<
"arghargharghargharghargh " << 3 <<
' ' << 1.5 <<
std::endl 17 <<
std::string(
" boo") <<
' ' << array <<
' ' << ptr;
20 " arghargharghargharghargh 3 1.5\n boo blue blue\n" 24 assert(
result == expected);
33 std::string res2(
"---- RealBadStuff BEGIN\n A B\n---- RealBadStuff END\n");
34 assert(e2.explain_self() == res2);
38 std::string res3(
"---- RealBadStuff BEGIN\n A B\n---- RealBadStuff END\n");
39 assert(e3.explain_self() == res3);
Q_EXPORT QTSManip setprecision(int p)
auto array(Array const &a)
Returns a manipulator which will print the specified array.
cet::coded_exception< error, detail::translate > exception
QTextStream & endl(QTextStream &s)