Esempio n. 1
0
        public void Should_Genarate_Stack_Successfully_From_Instructions(string alphabet, HashSet <ILetter> expected)
        {
            InstructionsInput input = new InstructionsInput {
                instructions = "stack: " + alphabet + "\n"
            };

            Assert.AreEqual(input.PopulateStack(), expected);
        }