use of net.sf.latexdraw.model.api.shape.Picture in project latexdraw by arnobl.
the class TestPicture method testDuplicate.
@Test
public void testDuplicate() {
final Picture dup = shape.duplicate();
assertEquals(shape.getPathSource(), dup.getPathSource());
}
use of net.sf.latexdraw.model.api.shape.Picture in project latexdraw by arnobl.
the class TestPicture method testCopy.
@Test
public void testCopy() {
final Picture pic2 = ShapeFactory.INST.createPicture(ShapeFactory.INST.createPoint());
pic2.copy(shape);
assertEquals(shape.getPathSource(), pic2.getPathSource());
}
Aggregations