示例#1
0
            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));
        }