use of net.sf.latexdraw.NoBadaboomCheck in project latexdraw by arnobl.
the class TestSVGPathSegMoveto method testToString.
@Test
@NoBadaboomCheck
public void testToString() {
final AtomicBoolean done = new AtomicBoolean(false);
SVGParserUtils.INSTANCE.parseSVGPath(seg.toString(), pathSeg -> {
done.set(true);
final SVGPathSegMoveto seg2 = (SVGPathSegMoveto) pathSeg;
assertEquals(seg.getX(), seg2.getX(), 0.0001);
assertEquals(seg.getY(), seg2.getY(), 0.0001);
assertEquals(seg.isRelative(), seg2.isRelative());
});
assertTrue(done.get());
}
Aggregations