Class LastFirstFinderTests
Inheritance
System.Object
LastFirstFinderTests
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.BurrowsWheelerTransform.Builder.LastFirstFinders
Assembly: MoreStructures.Tests.dll
Syntax
public abstract class LastFirstFinderTests
Constructors
| Improve this Doc View SourceLastFirstFinderTests(Func<RotatedTextWithTerminator, ILastFirstFinder>)
Declaration
protected LastFirstFinderTests(Func<RotatedTextWithTerminator, ILastFirstFinder> finderBuilder)
Parameters
Type | Name | Description |
---|---|---|
Func<RotatedTextWithTerminator, ILastFirstFinder> | finderBuilder |
Properties
| Improve this Doc View SourceFinderBuilder
Declaration
protected Func<RotatedTextWithTerminator, ILastFirstFinder> FinderBuilder { get; }
Property Value
Type | Description |
---|---|
Func<RotatedTextWithTerminator, ILastFirstFinder> |
Methods
| Improve this Doc View SourceFindIndexOfNthOccurrenceInBWTAndSortedBWT_IsCorrect(String, Char, Int32, Int32, Int32, Int32)
Declaration
public void FindIndexOfNthOccurrenceInBWTAndSortedBWT_IsCorrect(string bwtStr, char terminator, int indexOfCharInBWT, int occurrence, int expectedBWTResult, int expectedSortedBWTResult)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | indexOfCharInBWT | |
System.Int32 | occurrence | |
System.Int32 | expectedBWTResult | |
System.Int32 | expectedSortedBWTResult |
FindIndexOfNthOccurrenceInBWTAndSortedBWT_ThrowsExceptionOnInvalidInput(String, Char, Int32, Int32)
Declaration
public void FindIndexOfNthOccurrenceInBWTAndSortedBWT_ThrowsExceptionOnInvalidInput(string bwtStr, char terminator, int indexOfCharInBWT, int occurrence)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | indexOfCharInBWT | |
System.Int32 | occurrence |
FindOccurrenceOfCharInBWT_IsCorrect(String, Char, Int32, Int32)
Declaration
public void FindOccurrenceOfCharInBWT_IsCorrect(string bwtStr, char terminator, int indexOfCharInBWT, int expectedOccurrenceRank)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | indexOfCharInBWT | |
System.Int32 | expectedOccurrenceRank |
FindOccurrenceOfCharInSortedBWT_IsCorrect(String, Char, Int32, Int32)
Declaration
public void FindOccurrenceOfCharInSortedBWT_IsCorrect(string bwtStr, char terminator, int indexOfCharInSortedBWT, int expectedOccurrenceRank)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | indexOfCharInSortedBWT | |
System.Int32 | expectedOccurrenceRank |
FindOccurrenceOfCharInSortedBWTAndSortedBWT_ThrowsExceptionOnInvalidInput(String, Char, Int32)
Declaration
public void FindOccurrenceOfCharInSortedBWTAndSortedBWT_ThrowsExceptionOnInvalidInput(string bwtStr, char terminator, int indexOfChar)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | indexOfChar |
LastToFirst_IsCorrect(String, Char, Int32, Int32)
Declaration
public void LastToFirst_IsCorrect(string bwtStr, char terminator, int last, int expectedFirst)
Parameters
Type | Name | Description |
---|---|---|
System.String | bwtStr | |
System.Char | terminator | |
System.Int32 | last | |
System.Int32 | expectedFirst |