No need to use underscore prefix for public functions

This commit is contained in:
Madhura Jayaratne 2012-09-22 23:17:58 +05:30
parent 8382a70cc1
commit c9cc5acc0e

View File

@ -46,7 +46,7 @@ class PMA_pow_test extends PHPUnit_Framework_TestCase
} }
} }
public function _testNegativeExp() public function testNegativeExp()
{ {
$this->assertEquals( $this->assertEquals(
0.25, 0.25,
@ -54,7 +54,7 @@ class PMA_pow_test extends PHPUnit_Framework_TestCase
); );
} }
public function _testNegativeExpPow() public function testNegativeExpPow()
{ {
if (function_exists('pow')) { if (function_exists('pow')) {
$this->assertEquals( $this->assertEquals(
@ -66,7 +66,7 @@ class PMA_pow_test extends PHPUnit_Framework_TestCase
} }
} }
public function _testNegativeExpBcpow() public function testNegativeExpBcpow()
{ {
if (function_exists('bcpow')) { if (function_exists('bcpow')) {
$this->assertEquals( $this->assertEquals(
@ -78,7 +78,7 @@ class PMA_pow_test extends PHPUnit_Framework_TestCase
} }
} }
public function _testNegativeExpGmppow() public function testNegativeExpGmppow()
{ {
if (function_exists('gmp_pow')) { if (function_exists('gmp_pow')) {
$this->assertEquals( $this->assertEquals(