Search in sources :

Example 1 with LineArcProp

use of net.sf.latexdraw.model.api.property.LineArcProp in project latexdraw by arnobl.

the class PolymorphLineArcTest method testLoadSaveLineArcParams.

@ParameterizedTest
@MethodSource("net.sf.latexdraw.data.LineArcSupplier#lineArcDiversified")
default void testLoadSaveLineArcParams(final Shape sh) {
    final LineArcProp s2 = (LineArcProp) produceOutputShapeFrom(sh);
    CompareShapeMatcher.INST.assertEqualsLineArc((LineArcProp) sh, s2);
}
Also used : LineArcProp(net.sf.latexdraw.model.api.property.LineArcProp) ParameterizedTest(org.junit.jupiter.params.ParameterizedTest) MethodSource(org.junit.jupiter.params.provider.MethodSource)

Aggregations

LineArcProp (net.sf.latexdraw.model.api.property.LineArcProp)1 ParameterizedTest (org.junit.jupiter.params.ParameterizedTest)1 MethodSource (org.junit.jupiter.params.provider.MethodSource)1