예제 #1
0
        public void Should_add_chars()
        {
            var element = new TextElement();
            element.Add('a');
            element.Add('b');

            element.String.Should().Be.EqualTo("ab");
        }
예제 #2
0
 private void AddNewElement(char character)
 {
     _currentElement = new TextElement();
     _elements.Add(_currentElement);
 }