You are here

public function DifferTest::testTextRepresentationOfDiffCanBeRenderedUsingMemoryEfficientLcsImplementation in Zircon Profile 8

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

@dataProvider textProvider @covers SebastianBergmann\Diff\Differ::diff @covers SebastianBergmann\Diff\LCS\MemoryEfficientImplementation

Parameters

string $expected:

string $from:

string $to:

File

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

Class

DifferTest

Namespace

SebastianBergmann\Diff

Code

public function testTextRepresentationOfDiffCanBeRenderedUsingMemoryEfficientLcsImplementation($expected, $from, $to) {
  $this
    ->assertEquals($expected, $this->differ
    ->diff($from, $to, new MemoryEfficientImplementation()));
}