public function test_lcfirst() { // test the emultated native method (lcfirst is only in 5.3+) $this->assert_equal(MultiByte::lcfirst($this->test_strings['ucfirst']), $this->test_strings['lowercase']); $this->assert_equal(MultiByte::lcfirst('Abcd'), 'abcd'); }
public function testLcfirst ( ) { $this->assertEquals( MultiByte::lcfirst( $this->test_strings['ucfirst'] ), $this->test_strings['lowercase'] ); // perform a single test with an ascii string for code coverage $this->assertEquals( MultiByte::lcfirst( 'Abcd', 'ascii' ), 'abcd' ); }