Ignore:
Timestamp:
Feb 23, 2008, 9:16:22 PM (15 years ago)
Author:
Peter
Message:

KernelLookup? is not inherited from DataLookup2D - fixes #234

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/vector_test.cc

    r1120 r1132  
    314314  }
    315315
     316  /*
     317  {
     318    utility::Vector vec(10, 2.3);
     319    utility::VectorView vv(vec);
     320    vec = vv;
     321    if (vec.size()!=10){
     322      *message << "indirect self-assignment failed - size should be 10\n";
     323      ok = false;
     324    }
     325    if (vec(0)!=2.3){
     326      *message << "indirect self-assignment failed - vec(0) should be 2.3\n";
     327      ok = false;
     328    }
     329    utility::VectorView vv2(vec, 0, 5);
     330    vec = vv2;
     331    if (vec.size()!=5){
     332      *message << "indirect self-assignment failed - size should be 5\n";
     333      ok = false;
     334    }
     335    if (vec(0)!=2.3){
     336      *message << "indirect self-assignment failed - vec(0) should be 2.3\n";
     337      ok = false;
     338    }
     339  }
     340  */
     341
    316342  // test for ticket:285
    317343  {
Note: See TracChangeset for help on using the changeset viewer.