use of net.sf.latexdraw.models.interfaces.shape.IText in project latexdraw by arnobl.
the class TestIText method testConstructorsOK1.
@Test
public void testConstructorsOK1() {
IText txt = ShapeFactory.INST.createText();
assertNotNull(txt.getText());
assertFalse(txt.getText().isEmpty());
}
use of net.sf.latexdraw.models.interfaces.shape.IText in project latexdraw by arnobl.
the class TestSVGText method testTextPosition.
@Theory
public void testTextPosition(@TextData(withParamVariants = true) final IText sh) {
final IText s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsText(sh, s2);
}
Aggregations