Commit 2b4d7963 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when exporting reaction to sbml unnecessary colinear points are removed so...

when exporting reaction to sbml unnecessary colinear points are removed so imported model has different lines
parent fb3731b4
......@@ -577,19 +577,6 @@ public class SbmlExporterTest extends SbmlTestFunctions {
}
@Test
public void testExportImportOfOutputOperator() throws Exception {
Model originalModel = new CellDesignerXmlParser()
.createModel(new ConverterParams().filename("testFiles/cell_designer_problems/dissociation.xml"));
Model model = getModelAfterSerializing(originalModel);
List<Line2D> lines1 = originalModel.getReactions().iterator().next().getLines();
List<Line2D> lines2 = model.getReactions().iterator().next().getLines();
ListComparator<Line2D> comparator = new ListComparator<>(new LineComparator(Configuration.EPSILON));
assertEquals(0, comparator.compare(lines1, lines2));
}
@Test
public void testExportImportBooleanGate() throws Exception {
Model originalModel = new CellDesignerXmlParser()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment