public void ShouldReturnCorrectResult() { var problem = new Problem0028(); object result = problem.GetResult(); result.Should().Be(669171001); }
public int StrStrTestCases(string haystack, string needle) { var problem = new Problem0028(); return(problem.StrStr(haystack, needle)); }