public function TimeEfficientImplementationTest::testBothEmpty in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\LCSCode
public function testBothEmpty() {
$from = array();
$to = array();
$common = $this->implementation
->calculate($from, $to);
$this
->assertEquals(array(), $common);
}