PhpBench\Tests\Unit\Formatter\Format\TruncateFormatTest::provideTruncate PHP Метод

provideTruncate() публичный Метод

public provideTruncate ( )
    public function provideTruncate()
    {
        return [['this is not too long', 'this is not too long', 225], ['...ng', 'this is too long', 5], ['th...', 'this is too long', 5, 'right'], ['this.', 'this is too long', 5, 'right', '.'], ['t...g', 'this is too long', 5, 'middle', '...'], ['t...ng', 'this is too long', 6, 'middle', '...'], ['th..ng', 'this is too long', 6, 'middle', '..'], ['..g', 'this is too long', 3, 'middle', '..']];
    }