public override string FirstStar() { var input = ReadLineInput().Select(x => Regex.Replace(x, @"\s+", " ")).ToList(); var result = PassPhrase.Count(input); return(result.ToString()); }
public void Problem1_Example1(string input, int expectedValidCount) { var count = PassPhrase.Count(new[] { input }); Assert.Equal(expectedValidCount, count); }