COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/test/time_measure_test.cc @ 787:584270fba752

Last change on this file since 787:584270fba752 was 567:efaa79ee8d14, checked in by Alpar Juttner, 21 years ago

time_measure.cc was renamed to time_measure_test.cc
Add an alternative dijsktra_test.cc

File size: 310 bytes
RevLine 
[545]1#include <hugo/time_measure.h>
2
3///\file \brief Test cases for time_measure.h
4///
5///\todo To be extended
6
7
8using namespace hugo;
9
10int main()
11{
12  int j=0;
13  Timer T;
[567]14  for(int i=0;i<100;i++) j+=2;
[545]15  std::cout << T << '\n';
16  T.reset();
[567]17  for(int i=0;i<100;i++) j+=2;
[545]18  std::cout << T << '\n';
[567]19 
[566]20  return 0;
[545]21}
Note: See TracBrowser for help on using the repository browser.