Changeset 784 for trunk/test
- Timestamp:
- Mar 6, 2007, 5:02:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/vector_test.cc
r782 r784 173 173 ok=false; 174 174 175 // test of const view implementation (make sure no zero pointer used. 176 const utility::vector vv(10,3.0); 177 const utility::vector vview(vv,0,5,1); 178 utility::vector vv2(5,2.0); 179 vv2.mul(vview); // should work without an abort due to zero pointer in mul 180 vv2.div(vview); // should work without an abort due to zero pointer in mul 181 175 182 return (ok ? 0 : -1); 176 183 }
Note: See TracChangeset
for help on using the changeset viewer.