Changeset 3287 for trunk/test/utility.cc


Ignore:
Timestamp:
Jul 12, 2014, 4:07:13 PM (9 years ago)
Author:
Peter
Message:

new function sum_weight

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/utility.cc

    r3285 r3287  
    7171
    7272void test_sort_index(test::Suite& suite);
     73void test_sum_weight(test::Suite& suite);
    7374void test_less_nan(test::Suite& suite);
    7475void test_ptr_compare(test::Suite& suite);
     
    201202  test_inverse(suite);
    202203  test_sort_index(suite);
     204  test_sum_weight(suite);
    203205  test_less_nan(suite);
    204206  test_errno_error(suite);
     
    579581}
    580582
     583
     584void test_sum_weight(test::Suite& suite)
     585{
     586  // do not run compile test
     587  if (false) {
     588    boost::input_iterator_archetype<double> iter;
     589    utility::sum_weight(iter, iter);
     590    boost::input_iterator_archetype_no_proxy<utility::DataWeight> iter2;
     591    utility::sum_weight(iter2, iter2);
     592  }
     593}
     594
     595
    581596void test_ptr_compare(test::Suite& suite)
    582597{
Note: See TracChangeset for help on using the changeset viewer.