1234.6, '-1235', \NumberFormatter::ROUND_HALFDOWN
],
[-1234.5, '-1234', \NumberFormatter::ROUND_HALFDOWN
],
[-1234.4, '-1234', \NumberFormatter::ROUND_HALFDOWN
],
];
} /**
* @dataProvider transformWithRoundingProvider
*/
public function testTransformWithRounding($input,
$output,
$roundingMode) { $transformer =
new IntegerToLocalizedStringTransformer(null,
$roundingMode);
$this->
assertEquals($output,
$transformer->
transform($input));
} public function testReverseTransform() { // Since we test against "de_AT", we need the full implementation
IntlTestHelper::
requireFullIntl($this, false
);
\Locale::
setDefault('de_AT'
);