public void TestMethodMulti() { TestContext.Run((string []inputs, string output) => { var obj = new Question(); obj.Func(inputs).Is(output); }); }
public void TestMethodSingle() { TestContext.Run((string input, string output) => { var obj = new Question(); obj.Func(input).Is(output); }); }
static void Main(string[] args) { var obj = new Question(); var input = Console.ReadLine(); var output = obj.Func(input); //var inputNum = 5; //var inputs = Enumerable.Repeat(Console.ReadLine(), inputNum).ToArray(); //var output = obj.Func(inputs); Console.WriteLine(output); }