]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify test case.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Aug 2010 22:58:07 +0000 (22:58 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Aug 2010 22:58:07 +0000 (22:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@21761 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/table_handler_01.cc
tests/base/table_handler_01/cmp/generic

index bb88649e267f691b5bb9eed1e3ad2e3282e39246..355b6ce22d4b5b21947cc6cce3a452bb34097f57 100644 (file)
@@ -43,14 +43,5 @@ int main ()
   table.set_tex_table_caption("This is a caption text with \\LaTeX{} symbols");
 
                                  // output
-  std::ofstream out("table_handler_01/outfile.tex");
-  table.write_tex(out);
-  std::ifstream in("table_handler_01/outfile.tex");
-  while (in)
-    {
-      std::string s;
-      std::getline(in, s);
-      deallog.get_file_stream() << s << "\n";
-    }
-
+  table.write_tex(deallog.get_file_stream());
 }
index e5b155659c2ef890fd28f88ba2e8fe88def683b0..b2b3c80936e1f0a75940c8ff59097be2f659c867 100644 (file)
@@ -23,4 +23,3 @@ numbers & squares & square roots\\ \hline
 \caption{This is a caption text with \LaTeX{} symbols}
 \end{table}
 \end{document}
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.