Changeset 543ce4 for molecuilder/src/unittests/bondgraphunittest.cpp
- Timestamp:
- Nov 4, 2009, 7:56:04 PM (16 years ago)
- Children:
- 4ef101, aa8542
- Parents:
- ec70ec
- File:
-
- 1 edited
-
molecuilder/src/unittests/bondgraphunittest.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/bondgraphunittest.cpp
rec70ec r543ce4 104 104 void BondGraphTest::LoadTableTest() 105 105 { 106 CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable( (ofstream *)&cout,*filename) );106 CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable(*filename) ); 107 107 CPPUNIT_ASSERT_EQUAL( 1., BG->GetBondLength(0,0) ); 108 108 CPPUNIT_ASSERT_EQUAL( 1.2, BG->GetBondLength(0,1) ); … … 117 117 atom *Runner = TestMolecule->end->previous; 118 118 CPPUNIT_ASSERT( TestMolecule->end != Walker ); 119 CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable( (ofstream *)&cout,*filename) );120 CPPUNIT_ASSERT_EQUAL( true , BG->ConstructBondGraph( (ofstream *)&cout,TestMolecule) );119 CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable(*filename) ); 120 CPPUNIT_ASSERT_EQUAL( true , BG->ConstructBondGraph(TestMolecule) ); 121 121 CPPUNIT_ASSERT_EQUAL( true , Walker->IsBondedTo(Runner) ); 122 122 };
Note:
See TracChangeset
for help on using the changeset viewer.
