Changeset 1188 for trunk


Ignore:
Timestamp:
Sep 1, 2010, 3:28:19 AM (11 years ago)
Author:
Peter Johansson
Message:

prefer using Suite class when possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/graph.cc

    r1184 r1188  
    2323
    2424#include "lib/Graph.h"
     25#include "lib/Vector.h"
    2526
    2627#include <cstdlib>
     
    5556  test_graph("pdf", suite);
    5657
    57   // FIXME: in 0.9pre replace with
    58   // return suite.exit_statu();
    59   if (suite.ok())
    60     return EXIT_SUCCESS;
    61   return EXIT_FAILURE;
     58  return suite.exit_status();
    6259}
    6360
     
    7875  graph.ymax(10);
    7976  graph.current_color(255, 0, 0);
    80   std::vector<unsigned int> data(100,1);
     77  SumVector data;
     78  data.set(99,1);
    8179  graph.plot(data, "label", 1);
    8280}
Note: See TracChangeset for help on using the changeset viewer.