"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n" +
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n" +
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n" +
" -->\n" +
"<!-- Title: g Pages: 1 -->\n" +
<BUG>"<svg";
@Test</BUG>
public void jdk() {
Graphviz.useEngine(new GraphvizJdkEngine());
assertThat(Graphviz.fromString("graph g {a--b}").createSvg(), startsWith(START));

"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n" +
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n" +
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n" +
" -->\n" +
"<!-- Title: g Pages: 1 -->\n" +
"<svg";
@AfterClass
public static void end() {
Graphviz.useEngine(null);
}
@Test
public void jdk() {
Graphviz.useEngine(new GraphvizJdkEngine());
assertThat(Graphviz.fromString("graph g {a--b}").createSvg(), startsWith(START));
