public void ElementImageSetFontTest() { ElementText element = new ElementText(text, fontSize, font, originPointX, originPointY, height, width, comentarysBoardElement); string newFont = "TimesNewRoman"; element.setFont(newFont); Assert.AreEqual(element.getFont(), newFont); }
public void ElementImageGetFontTest() { ElementText element = new ElementText(text, fontSize, font, originPointX, originPointY, height, width, comentarysBoardElement); Assert.AreEqual(element.getFont(), font); }