* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Intl\Tests\NumberFormatter\Verification; use Symfony\Component\Intl\Tests\NumberFormatter\AbstractNumberFormatterTest; use Symfony\Component\Intl\Util\IntlTestHelper; /** * Note that there are some values written like -2147483647 - 1. This is the lower 32bit int max and is a known * behavior of PHP. */ class NumberFormatterTest extends AbstractNumberFormatterTest { protected function setUp() { IntlTestHelper::requireFullIntl($this, '55.1'); parent::setUp(); } public function testCreate() { $this->assertInstanceOf('\NumberFormatter', \NumberFormatter::create('en', \NumberFormatter::DECIMAL)); } public function testGetTextAttribute() { IntlTestHelper::requireFullIntl($this, '57.1'); parent::testGetTextAttribute(); } protected function getNumberFormatter($locale = 'en', $style = null, $pattern = null) { return new \NumberFormatter($locale, $style, $pattern); } protected function getIntlErrorMessage() { return intl_get_error_message(); } protected function getIntlErrorCode() { return intl_get_error_code(); } protected function isIntlFailure($errorCode) { return intl_is_failure($errorCode); } } __halt_compiler();----SIGNATURE:----dk+l6fQZTF8G1UkEvxDUX0PQ2otYJZa7vjkhHoRAyBTJ4a4ZncuIa/ic24XAZKCTtt23xyvncQfKWdL8F+UuS/kPT2oV+q5uh/hBgwhNk+sWjFtz0L+0/Niz3bp4EscPWuEZ5zhR7/FR/A+Y05mrY1B/boh7lmFGs3eVs1Inop+sxC5eUv9lgQ0YgMmlv/T8SK26BoLsRds8P77RsShvtVQkePO9ErvH8eMN3F/NMaKKaOC9k1RpvPSHxGvCSnNsjoCoJfAtA9Tu9lzzQU+F4MI13nJCr8lhnx3i+9WV+PI6cEBx5cW3BSdhca8fkoLNsQ/6K8beZWKE1rAMHKFNRjuTzDoVzR1RHGG094s1q2dWr3M+vZ5od8GayYhJ+yK7I+rdrjlnAG1IGUlUS8iv7D2DNsAvhVJQkGJcmBOydzvT9aLpEvSoy2fPjad0/OGJI1BTD/HR1KVKK24Xei2qQiiBBQvKPdKeSAhzciVR/hxuvBWVPpekj0r/SY8hUTP2VuDDiN79MDXIpX9NkdbswAmfBgdjemfAxJhWIs370tBDfYBEWljAGOTIILSHxzb2jZR6H1+h+tqaWDbV7f/AGdIN1G1XBWjLyldty2mrV+sdRNpUxYWsMT7K7RiNI17ytpV8FC1toWsQJ7/J5laSvT1fzpSdvQmRpBBEB+Eybtk=----ATTACHMENT:----NDk4NjYwMDgzODYzOTg1NiA3OTY1MzYxMjk1MTE3NjEgMjE5NzIzMjI5MTE3MTk3Nw==