Changeset 108 for trunk/test


Ignore:
Timestamp:
Jun 28, 2006, 11:17:12 AM (15 years ago)
Author:
Peter Johansson
Message:

removed debug code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/gnuplot_pipe.cc

    r107 r108  
    2424#include "Gnuplot.h"
    2525
    26 #include <iostream>
    2726#include <vector>
    2827
     
    4039
    4140  svnstat::Gnuplot gnuplot1;
    42   //if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"))
    43   //ok = false;
    44     //if (gnuplot1.command("plot sin(x) title 'sine of x' with lines"))
    45     //ok = false;
     41  if (gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"))
     42    ok = false;
     43  if (gnuplot1.command("plot sin(x) title 'sine of x' with lines"))
     44    ok = false;
    4645
    4746  svnstat::Gnuplot gnuplot2;
    48   //if (gnuplot2.command("set output 'test2.png'; set term png"))
    49   //gnuplot2.plot(x);
     47  if (gnuplot2.command("set output 'test2.png'; set term png"))
     48    ok = false;
     49  gnuplot2.plot(x);
    5050
    5151  svnstat::Gnuplot gnuplot3;
Note: See TracChangeset for help on using the changeset viewer.