12 #include <utl/TabularStream.h>
14 #include <cppunit/extensions/HelperMacros.h>
29 CPPUNIT_TEST(TestStupidities);
30 CPPUNIT_TEST(TestTooManyColumns);
31 CPPUNIT_TEST_SUITE_END();
43 << 123.456 <<
endc <<
'a' <<
endc << 333;
45 cout << tab <<
"stop" << endl;
62 cout << tab <<
"stop" << endl;
72 tab <<
"a" <<
"b" <<
'c' <<
endc << 1.23 <<
endc << 1e-9 <<
endr;
74 tab << 1 << 2 << 3 <<
endc << 12.3 <<
endc <<
"1." <<
"002" << endr
75 <<
"foo" <<
endc << 123 <<
endc <<
"0000.1" << endr
76 <<
"bar" <<
endc <<
"abc" <<
endc <<
"aabb";
78 cout << tab <<
"stop" << endl;
90 cout << tab <<
"stop" << endl;
105 cout << tab <<
"stop" << endl;
void TestTooManyColumns()
CPPUNIT_TEST_SUITE_REGISTRATION(testAiresShowerFile)
class that triggers insertion of the line row in the TabularStream
class to format data in tabular form