Esempio n. 1
0
        public void GetSegmentShouldReturnSegment()
        {
            string     source = "abc:123";
            CharReader reader = new CharReader(source);

            Assert.Equal("abc", reader.GetSegment(0, 2).ToString());
            Assert.Equal("123", reader.GetSegment(4, 6).ToString());
        }