[Cppunit-devel] CppUnit Cookbook / Fixture
Brought to you by:
blep
From: Paul W. <pwh...@me...> - 2003-09-02 12:16:48
|
Hi, in the CppUnit Cookbook = (http://cppunit.sourceforge.net/cppunit_cookbook.html) sub-section = called "Fixture" in the third code sample you have this: bool operator =3D=3D( const Complex &a, const Complex &b ) { return eq( = a.real, b.real ) && eq( a.imaginary, b.imaginary ); }=20 Don't you need to define the eq() method before this will compile and = run or am I missing something? Regards, Paul. ________________________________________________________________________ This=20email=20has=20been=20scanned=20for=20all=20viruses=20by=20the=20Mes= sageLabs=20Email Security=20System.=20For=20more=20information=20on=20a=20proactive=20email= =20security service=20working=20around=20the=20clock,=20around=20the=20globe,=20visit http://www.messagelabs.com ________________________________________________________________________ |