Subj : Re: tools to build design of application To : Phlip From : Roman Mashak Date : Sat Jul 30 2005 11:07 am Hello, Phlip! You wrote on Fri, 29 Jul 2005 21:06:22 GMT: P> Here are about 14 test cases, stacked for convenience into two test case P> functions: P> TEST_(TestCase, term) P> { P> CPPUNIT_ASSERT_CLOSE( 3.0, parse("3") ); P> CPPUNIT_ASSERT_CLOSE( 2.0, parse("2") ); P> CPPUNIT_ASSERT_CLOSE( 2.8, parse("2.8") ); P> CPPUNIT_ASSERT_CLOSE( 2.8, parse(" 2.8") ); P> CPPUNIT_ASSERT_CLOSE(-2.8, parse("-2.8") ); P> ASSERT_BEEF( parse(".q") , "syntax error" ); P> ASSERT_BEEF( parse("- 1.0"), "syntax error" ); P> } so, if I understand right, these macros are part of some, let it call 'test application', the purpose of which is only to test(=validate) every function? It sounds a bit tangled for me by now, are there any books or documents describing this feature more thoroughly? With best regards, Roman Mashak. E-mail: mrv@tusur.ru .