mp3lib_Tests.Classes_for_tests.TestCommunicator.TestCommunicator C# (CSharp) Method

TestCommunicator() public method

public TestCommunicator ( IEnumerable userInput ) : System.Collections.Generic
userInput IEnumerable
return System.Collections.Generic
        public TestCommunicator(IEnumerable<string> userInput)
        {
            UserInput = new Queue<string>();
            ProgramOutput = new List<string>();

            foreach (var str in userInput)
            {
                UserInput.Enqueue(str);
            }
        }