You are here

public function TimeEfficientImplementationTest::testBothEmpty in Zircon Profile 8

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

File

vendor/sebastian/diff/tests/LCS/TimeEfficientImplementationTest.php, line 37

Class

TimeEfficientImplementationTest
Some of these tests are volontary stressfull, in order to give some approximative benchmark hints.

Namespace

SebastianBergmann\Diff\LCS

Code

public function testBothEmpty() {
  $from = array();
  $to = array();
  $common = $this->implementation
    ->calculate($from, $to);
  $this
    ->assertEquals(array(), $common);
}