- Timestamp:
- Sep 1, 2010, 3:28:19 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/graph.cc
r1184 r1188 23 23 24 24 #include "lib/Graph.h" 25 #include "lib/Vector.h" 25 26 26 27 #include <cstdlib> … … 55 56 test_graph("pdf", suite); 56 57 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(); 62 59 } 63 60 … … 78 75 graph.ymax(10); 79 76 graph.current_color(255, 0, 0); 80 std::vector<unsigned int> data(100,1); 77 SumVector data; 78 data.set(99,1); 81 79 graph.plot(data, "label", 1); 82 80 }
Note: See TracChangeset
for help on using the changeset viewer.