public TestResult Test(List <string> input) { int foundTrees = CountNumberOfTrees(input.ToArray(), (3, 1)); var expected = 7; bool succeded = foundTrees == expected; return(new TestResult(succeded, expected, foundTrees)); }
public Result First(List <string> input) { int foundTrees = CountNumberOfTrees(input.ToArray(), (3, 1)); return(new Result(foundTrees)); }