Changeset 786 for trunk/test
- Timestamp:
- Mar 9, 2007, 10:38:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/vector_test.cc
r784 r786 170 170 this_ok=true; // good, exceoption thrown, test passed 171 171 } 172 172 173 if (!this_ok) 173 174 ok=false; … … 180 181 vv2.div(vview); // should work without an abort due to zero pointer in mul 181 182 183 if (vview*vview!= 3.0*3.0*vview.size()) 184 ok = false; 185 186 if (print && !ok) 187 std::cout << "vector_test failed" << std::endl; 188 189 190 182 191 return (ok ? 0 : -1); 183 192 }
Note: See TracChangeset
for help on using the changeset viewer.