Changeset 4daa9c
- Timestamp:
- May 23, 2017, 8:59:18 PM (8 years ago)
- Branches:
- ForceAnnealing_tocheck
- Children:
- bea9b9
- Parents:
- 175543
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Graph/unittests/BreadthFirstSearchGathererUnitTest.cpp
r175543 r4daa9c 85 85 make_pair(0,0), make_pair(1,1), make_pair(2,2), make_pair(3,3), make_pair(4,4); 86 86 for (size_t i=0;i<no_nodes;++i) 87 boost::put(boost::get(boost::vertex_name, BGCreator->graph), boost::vertex(i, BGCreator->graph), i );87 boost::put(boost::get(boost::vertex_name, BGCreator->graph), boost::vertex(i, BGCreator->graph), i+1); 88 88 } 89 89 … … 95 95 prepareLinearGraph(); 96 96 97 // call operator 97 // call operator with default argument 98 98 BreadthFirstSearchGatherer gatherer(*BGCreator); 99 99 std::vector<atomId_t> atomids = gatherer(0); … … 101 101 // create comparator set 102 102 std::vector<atomId_t> compareids; 103 compareids += 0,1,2,3,4;103 compareids += 1,2,3,4,5; 104 104 CPPUNIT_ASSERT_EQUAL ((size_t)5, atomids.size()); 105 105 CPPUNIT_ASSERT_EQUAL (compareids, atomids);
Note:
See TracChangeset
for help on using the changeset viewer.