예제 #1
0
        public void ElementImageSetTextTest()
        {
            ElementText element = new ElementText(text, fontSize, font, originPointX, originPointY, height, width, comentarysBoardElement);
            string      newText = "twoText";

            element.setText(newText);
            Assert.AreEqual(element.getText(), newText);
        }
예제 #2
0
        public void ElementImageGetTextTest()
        {
            ElementText element = new ElementText(text, fontSize, font, originPointX, originPointY, height, width, comentarysBoardElement);

            Assert.AreEqual(element.getText(), text);
        }