From: <dh...@us...> - 2003-04-13 13:55:27
|
Update of /cvsroot/bayesline/bayesline/include/bayesline/core In directory sc8-pr-cvs1:/tmp/cvs-serv24972/include/bayesline/core Modified Files: Contradiction.h Log Message: * integrated cppunit test framework: - added (incomplete) tests for Bool and Sum (@riedel: please take a look at SumPotentialTest.cpp) - we need more test cases - added "test" project, read e-mail to bayesline-devel for how to compile cppunit with VC+7.0 * added Contradiction.equals() Index: Contradiction.h =================================================================== RCS file: /cvsroot/bayesline/bayesline/include/bayesline/core/Contradiction.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Contradiction.h 2 Mar 2003 15:09:34 -0000 1.1 --- Contradiction.h 13 Apr 2003 13:54:53 -0000 1.2 *************** *** 49,52 **** --- 49,55 ---- } + virtual bool equals(const Valuation& pd) const { + return (typeid(pd) == typeid(Contradiction)) != 0; + } private: |