public void GetIndexOfCharStartIndexCount_NullString_ThrowsException() { Assert.Throws <ArgumentNullException>(() => GetIndexRecursively.GetIndexOfChar(null, 'a', 0, 0)); }
public int GetIndexOfCharStartIndexCount_NonEmptyString_ReturnsPosition(string str, char value, int startIndex, int count) { return(GetIndexRecursively.GetIndexOfChar(str, value, startIndex, count)); }
public int GetIndexOfChar_NonEmptyString_ReturnsPosition(string str, char value) { return(GetIndexRecursively.GetIndexOfChar(str, value)); }