* * 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:----OmWdAdIExpnHKVjLQZEZL/151EXXe4m+/5ljxXmKOJGF6seGz9Vq3u4sa7hODfxIV8d+3JWutWy6q9JPnKMKP74ypxgNst3Npcv2XIJNZ+A3ghwh5zM0xKP/YaxOgnj8m1h92+NEhrQBQKd4/qgzL6dtj+Cp7CXkOqmg+yfiFloSpB5cw09Em/ascoEMgBtH+uq/WvZg2vKuQLcxDsoiHh/MMHRYmFePUpBAqRn6ZiGAkJ6+4o/NJBtDNNm03wcuB5LqCQ1PnER7IXGqS2BXI8mdZNa1h7u8QTgd04WL7/uAgA58opX5+8d6D88iJ10wm4jQexgJkjCpQ8u1mltF4homFA+dNi+LMXX8mwqSoL4Opm0Fn7EB3AhfgOuKp9cNJ5XnT20V3Th2wP4ea3FhRD0poq0y5O1oxXiMQhMrXW6/VUDpDXEmrCGNFkThSnzHN0lMAxGW/Y+0jpPsLvH09vqFxqWk00j57GrtEZx6rv5wtM6bwjJyTga4wn8ncZ0u1HecilInS0D8RnbqnfBZcbeeoIow+jDSXLf/qSLXt3dMAzyN/JLKcZcktcv8vRMHnHmydeeXTWyKsbb9Fi997Rk1oXvtKunVbTY7ghEmJ0K1CPCyjDg1jLA3XH432NCkyG8s0Z6vbO4oO/ldJqZLxQIYm7Kf36AHswdI5gUE8+I=----ATTACHMENT:----NjI2MTMxNzk4MzY4NDE0IDMyNzc2OTUxOTU0MTAxMzcgNzg4NDQxNzIwMzg3MDA4NQ==