Class MatcherTests
Inheritance
System.Object
MatcherTests
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MoreStructures.Tests.KnuthMorrisPratt.Matching
Assembly: MoreStructures.Tests.dll
Syntax
public class MatcherTests
Methods
| Improve this Doc View SourceMatch_DoesntValidateTextAndPatternAgainstSeparatorByDefault()
Declaration
public void Match_DoesntValidateTextAndPatternAgainstSeparatorByDefault()
Match_IsCorrect(String, String, Int32[])
Declaration
public void Match_IsCorrect(string text, string pattern, int[] startIndexes)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
System.String | pattern | |
System.Int32[] | startIndexes |
Match_RaisesExceptionWhenTextAndPatternAreValidatedAgainstSeparator()
Declaration
public void Match_RaisesExceptionWhenTextAndPatternAreValidatedAgainstSeparator()
Match_ReturnsNoMatchWithEmptyText()
Declaration
public void Match_ReturnsNoMatchWithEmptyText()
Match_ThrowsExceptionWithEmptyPattern()
Declaration
public void Match_ThrowsExceptionWithEmptyPattern()