Beispiel #1
0
        public void GetCustomDelimiters_SingleSingleCharDelimiter_ReturnsDelimiterList(string expected, string input)
        {
            var result = InputParser.GetCustomDelimiters(input);

            Assert.IsInstanceOf(typeof(List <string>), result);
            Assert.AreEqual(expected, result.ElementAt(0));
        }
Beispiel #2
0
        public void GetCustomDelimiters_MultipleAnyLengthDelimiters_ReturnsDelimiterList(string[] expected, string input)
        {
            var result = InputParser.GetCustomDelimiters(input);

            Assert.AreEqual(expected.ToList(), result);
        }