You are here

public function DifferTest::arrayProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/diff/tests/DifferTest.php \SebastianBergmann\Diff\DifferTest::arrayProvider()

File

vendor/sebastian/diff/tests/DifferTest.php, line 120

Class

DifferTest

Namespace

SebastianBergmann\Diff

Code

public function arrayProvider() {
  return array(
    array(
      array(
        array(
          'a',
          self::REMOVED,
        ),
        array(
          'b',
          self::ADDED,
        ),
      ),
      'a',
      'b',
    ),
    array(
      array(
        array(
          'ba',
          self::REMOVED,
        ),
        array(
          'bc',
          self::ADDED,
        ),
      ),
      'ba',
      'bc',
    ),
    array(
      array(
        array(
          'ab',
          self::REMOVED,
        ),
        array(
          'cb',
          self::ADDED,
        ),
      ),
      'ab',
      'cb',
    ),
    array(
      array(
        array(
          'abc',
          self::REMOVED,
        ),
        array(
          'adc',
          self::ADDED,
        ),
      ),
      'abc',
      'adc',
    ),
    array(
      array(
        array(
          'ab',
          self::REMOVED,
        ),
        array(
          'abc',
          self::ADDED,
        ),
      ),
      'ab',
      'abc',
    ),
    array(
      array(
        array(
          'bc',
          self::REMOVED,
        ),
        array(
          'abc',
          self::ADDED,
        ),
      ),
      'bc',
      'abc',
    ),
    array(
      array(
        array(
          'abc',
          self::REMOVED,
        ),
        array(
          'abbc',
          self::ADDED,
        ),
      ),
      'abc',
      'abbc',
    ),
    array(
      array(
        array(
          'abcdde',
          self::REMOVED,
        ),
        array(
          'abcde',
          self::ADDED,
        ),
      ),
      'abcdde',
      'abcde',
    ),
  );
}