* 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 MathTest('testAdd')); * * $result = PHPUnit::run($suite); * print $result->toHTML(); * ?> *
* toHTML(); * ?> *