/**
* @dataProvider provideTransformations
*/
public function testTransform($from,
$to,
$locale) { // Since we test against other locales, we need the full implementation
IntlTestHelper::
requireFullIntl($this, false
);
\Locale::
setDefault($locale);
$transformer =
new NumberToLocalizedStringTransformer();
$this->
assertSame($to,
$transformer->
transform($from));
} public static function provideTransformationsWithGrouping() { return [ [1234.5, '1.234,5', 'de_DE'
],
[12345.912, '12.345,912', 'de_DE'
],
[1234.5, '1 234,5', 'fr'
],
[1234.5, '1 234,5', 'ru'
],
[