* PHPUnit_TestCase($name); * } * * function setUp() { * $this->fValue1 = 2; * $this->fValue2 = 3; * } * * function testAdd() { * $this->assertTrue($this->fValue1 + $this->fValue2 == 5); * } * } * * $suite = new PHPUnit_TestSuite; * * $suite->addTest( * new PHPUnit_RepeatedTest( * new MathTest('testAdd'), * 10 * ) * ); * * $result = PHPUnit::run($suite); * print $result->toString(); * ?> *