Changeset 877 for trunk/test


Ignore:
Timestamp:
Sep 20, 2007, 9:01:57 PM (14 years ago)
Author:
Markus Ringnér
Message:

This revision breaks the vector_test. I know this is against the rules but it is intented for getting help from Jari to identify linking problem. A new function sort_index is added to vector, and tested in vector_test. Everything compiles but vector_test fails to link and I cannot see why

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/vector_test.cc

    r865 r877  
    267267  ok &= this_ok;
    268268
     269  std::string data3("data/vector3.data");
     270  std::ifstream data_stream3(data3.c_str());
     271  utility::vector vec3(data_stream3);
     272  std::vector<size_t> dummy;
     273  utility::sort_index(dummy,vec3);
     274  for(size_t i=0;i<dummy.size();i++) {
     275    *message << "dummy: " << dummy[i] << std::endl;
     276  }
     277
    269278  if (!ok)
    270279    *message << "vector test failed" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.