Skip to content

Commit

Permalink
Document methods
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiLive authored and DigiLive committed Nov 19, 2020
1 parent 77a7b59 commit 94c8bd5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Diff/SequenceMatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public function testGetGroupedOpCodesDefault()
);
}

/**
* Test the opCodes of the differences between version1 and version2 with option trimEqual disabled.
*/
public function testGetGroupedOpCodesTrimEqualFalse()
{
// Test with trimEqual disabled.
Expand All @@ -63,6 +66,9 @@ public function testGetGroupedOpCodesTrimEqualFalse()
);
}

/**
* Test the opCodes of the differences between version1 and version2 with option IgnoreWhitespace enabled.
*/
public function testGetGroupedOpCodesIgnoreWhitespaceTrue()
{
// Test with ignoreWhitespace enabled. Both sequences are considered to be the same.
Expand All @@ -77,6 +83,9 @@ public function testGetGroupedOpCodesIgnoreWhitespaceTrue()
$this->assertEquals([], $sequenceMatcher->getGroupedOpCodes());
}

/**
*T est the opCodes of the differences between version1 and version2 with option ignoreCase enabled.
*/
public function testGetGroupedOpCodesIgnoreCaseTrue()
{
// Test with ignoreCase enabled. Both sequences are considered to be the same.
Expand Down

0 comments on commit 94c8bd5

Please sign in to comment.