- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/unittests/manipulateAtomsTest.cpp
rcd5047 r6d574a 87 87 static void operation(atom* _atom){ 88 88 AtomStub *atom = dynamic_cast<AtomStub*>(_atom); 89 assert(atom);89 CPPUNIT_ASSERT(atom); 90 90 atom->doSomething(); 91 91 } … … 100 100 AtomStub *atom; 101 101 atom = dynamic_cast<AtomStub*>(*iter); 102 assert(atom);102 CPPUNIT_ASSERT(atom); 103 103 CPPUNIT_ASSERT(atom->manipulated); 104 104 } … … 114 114 AtomStub *atom; 115 115 atom = dynamic_cast<AtomStub*>(*iter); 116 assert(atom);116 CPPUNIT_ASSERT(atom); 117 117 if(atom->getId()!=(int)ATOM_COUNT/2) 118 118 CPPUNIT_ASSERT(atom->manipulated);
Note:
See TracChangeset
for help on using the changeset viewer.