Ignore:
Timestamp:
Jan 15, 2010, 3:12:56 PM (13 years ago)
Author:
Peter
Message:

fixes #449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/matrix_weighted_test.cc

    r2119 r2143  
    3333void test_constructor_const(test::Suite& suite);
    3434void test_constructor_matrix(test::Suite& suite);
     35void test_concepts(test::Suite& suite);
    3536void test_swap(test::Suite& suite);
    3637
     
    4344  test_constructor_matrix(suite);
    4445  test_swap(suite);
     46  test_concepts(suite);
    4547
    4648  suite.return_value();
     49}
     50
     51
     52void test_concepts(test::Suite& suite)
     53{
     54  const MatrixWeighted const_m(2,2,0);
     55  MatrixWeighted mutable_m(2,2,0);
     56  // concept compiler tests
     57  suite.test_concept_container2d(const_m);
     58  suite.test_concept_mutable_container2d(mutable_m);
    4759}
    4860
Note: See TracChangeset for help on using the changeset viewer.