You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Equal(2,stringMatchResult.Matches.Length);// "my" and "text" are the two matches of the result
970
-
Assert.Equivalent(newLCSMatchResult.LCSMatch(4,5,length:4),stringMatchResult.Matches[0]);// the string "text" starts at index 4 in the first string and at index 5 in the second string
971
-
Assert.Equivalent(newLCSMatchResult.LCSMatch(2,0,length:2),stringMatchResult.Matches[1]);// the string "my" starts at index 2 in the first string and at index 0 in the second string
970
+
Assert.Equivalent(newLCSMatchResult.LCSMatch(new(4,7),new(5,8),length:4),stringMatchResult.Matches[0]);// the string "text" starts at index 4 in the first string and at index 5 in the second string
971
+
Assert.Equivalent(newLCSMatchResult.LCSMatch(new(2,3),new(0,1),length:2),stringMatchResult.Matches[1]);// the string "my" starts at index 2 in the first string and at index 0 in the second string
Assert.Equal(2,stringMatchResult.Matches.Length);// "my" and "text" are the two matches of the result
1010
-
Assert.Equivalent(newLCSMatchResult.LCSMatch(4,5,length:4),stringMatchResult.Matches[0]);// the string "text" starts at index 4 in the first string and at index 5 in the second string
1011
-
Assert.Equivalent(newLCSMatchResult.LCSMatch(2,0,length:2),stringMatchResult.Matches[1]);// the string "my" starts at index 2 in the first string and at index 0 in the second string
1010
+
Assert.Equivalent(newLCSMatchResult.LCSMatch(new(4,7),new(5,8),length:4),stringMatchResult.Matches[0]);// the string "text" starts at index 4 in the first string and at index 5 in the second string
1011
+
Assert.Equivalent(newLCSMatchResult.LCSMatch(new(2,3),new(0,1),length:2),stringMatchResult.Matches[1]);// the string "my" starts at index 2 in the first string and at index 0 in the second string
0 commit comments