public function NumberTest::providerTestConversions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/Utility/NumberTest.php \Drupal\Tests\Component\Utility\NumberTest::providerTestConversions()
Data provider for testConversions().
Return value
array An array containing:
- The integer value.
- The alphadecimal value.
See also
testConversions()
File
- core/
tests/ Drupal/ Tests/ Component/ Utility/ NumberTest.php, line 151 - Contains \Drupal\Tests\Component\Utility\NumberTest.
Class
- NumberTest
- Tests number manipulation utilities.
Namespace
Drupal\Tests\Component\UtilityCode
public function providerTestConversions() {
return array(
array(
0,
'00',
),
array(
1,
'01',
),
array(
10,
'0a',
),
array(
20,
'0k',
),
array(
35,
'0z',
),
array(
36,
'110',
),
array(
100,
'12s',
),
);
}