namespace Symfony\Component\String\Tests;
use Symfony\Component\String\AbstractString;
use Symfony\Component\String\CodePointString;
class CodePointStringTest extends AbstractUnicodeTestCase
{ protected static function createFromString(string
$string): AbstractString
{ return new CodePointString($string);
} public static function provideLength(): array
{ return array_merge( parent::
provideLength(),
[ // 8 instead of 5 if it were processed as a grapheme cluster
[8, 'अनुच्छेद'
],
] );
}