public void QuestionITest(string input, string output) { var outputs = SplitByNewLine(output); IAtCoderQuestion question = new QuestionI(); var answers = question.Solve(input).Select(o => o.ToString()).ToArray(); Assert.Equal(outputs, answers); }
public void QuestionITest(string input, string output) { var outputs = SplitByNewLine(output); IAtCoderQuestion question = new QuestionI(); var answers = SplitByNewLine(question.Solve(input).Trim()); Assert.Equal(outputs, answers); }