Changeset 1527
- Timestamp:
- Sep 24, 2008, 3:52:28 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/iterator_test.cc
r1490 r1527 34 34 #include "yat/utility/VectorView.h" 35 35 #include "yat/utility/VectorConstView.h" 36 #include "yat/utility/WeightedIterator.h" 36 37 #include "yat/utility/WeightIterator.h" 37 38 … … 75 76 76 77 void test_stride_iterator(test::Suite& suite); 78 void test_weighted_iterator(test::Suite& suite); 77 79 78 80 int main(int argc, char* argv[]) … … 84 86 old_main(suite); 85 87 test_boost_util(suite); 88 test_weighted_iterator(suite); 86 89 return suite.return_value(); 87 90 } … … 402 405 suite.err() << "cend-cbegin failed\n"; 403 406 } 407 408 void test_weighted_iterator(test::Suite& suite) 409 { 410 std::vector<double> vec(3,1); 411 typedef std::vector<double>::iterator Iter; 412 utility::WeightedIterator<Iter, Iter> iter(vec.begin(), vec.begin()); 413 414 //test_trivial_iterator(iter, suite); 415 416 } -
trunk/yat/utility/Makefile.am
r1500 r1527 45 45 SVD.h TypeInfo.h utility.h Vector.h \ 46 46 VectorBase.h VectorConstView.h VectorMutable.h VectorView.h \ 47 Weight Iterator.h WeNNI.h yat_assert.h47 WeightedIterator.h WeightIterator.h WeNNI.h yat_assert.h 48 48 49 49 extra_headersdir = $(include_utilitydir)
Note: See TracChangeset
for help on using the changeset viewer.