public function BlazyUnitTest::providerTestWidthFromDescriptors in Blazy 8
Provide test cases for ::testWidthFromDescriptors().
File
- tests/
src/ Unit/ BlazyUnitTest.php, line 52
Class
- BlazyUnitTest
- @coversDefaultClass \Drupal\blazy\Blazy
Namespace
Drupal\Tests\blazy\UnitCode
public function providerTestWidthFromDescriptors() {
return [
[
1024,
1024,
],
[
'1024',
1024,
],
[
'769w',
769,
],
[
'640w 2x',
640,
],
[
'2x 640w',
640,
],
[
'xYz123',
FALSE,
],
];
}