Ejemplo n.º 1
0
        public void ParseAndSplit_String_ReturnsArrayofStrings()
        {
            //Arrange
            SimpleParser sp = new SimpleParser();

            //Act
            string[] listofstrings = sp.ParseAndSplit("1,20,300");

            //Assert
            string[] expected = new string[] { "1", "20", "300" };
            Assert.Equal(expected, listofstrings);
        }