use of net.sf.latexdraw.models.interfaces.shape.IAxes in project latexdraw by arnobl.
the class TestSVGArrowable method testArrowRBracketParamsArr1.
@Theory
public void testArrowRBracketParamsArr1(@ArrowableData(withParamVariants = true) final IArrowableSingleShape sh, final ArrowStyle arr1, final ArrowStyle arr2) {
assumeTrue(arr1.isRoundBracket());
assumeFalse(sh instanceof IAxes);
sh.setArrowStyle(arr1, 0);
sh.setArrowStyle(arr2, -1);
final IArrowableSingleShape s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsArrowRBracket(sh.getArrowAt(0), s2.getArrowAt(0));
}
use of net.sf.latexdraw.models.interfaces.shape.IAxes in project latexdraw by arnobl.
the class TestSVGAxes method testTicksStyle.
@Theory
public void testTicksStyle(@AxesData final IAxes sh, final TicksStyle style) {
sh.setTicksStyle(style);
final IAxes s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsAxes(sh, s2);
}
use of net.sf.latexdraw.models.interfaces.shape.IAxes in project latexdraw by arnobl.
the class TestSVGAxes method testAxesParams.
@Theory
public void testAxesParams(@AxesData(withParamVariants = true) final IAxes sh) {
final IAxes s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsAxes(sh, s2);
}
use of net.sf.latexdraw.models.interfaces.shape.IAxes in project latexdraw by arnobl.
the class TestSVGAxes method testLabelsDisplayed.
@Theory
public void testLabelsDisplayed(@AxesData final IAxes sh, final PlottingStyle style) {
sh.setLabelsDisplayed(style);
final IAxes s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsAxes(sh, s2);
}
use of net.sf.latexdraw.models.interfaces.shape.IAxes in project latexdraw by arnobl.
the class TestSVGAxes method testTicksDisplayed.
@Theory
public void testTicksDisplayed(@AxesData final IAxes sh, final PlottingStyle style) {
sh.setTicksDisplayed(style);
final IAxes s2 = produceOutputShapeFrom(sh);
CompareShapeMatcher.INST.assertEqualsAxes(sh, s2);
}
Aggregations