Commit 01aa8d20 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

method name changed

parent 1a0801b5
Pipeline #40790 passed with stage
in 25 minutes and 52 seconds
......@@ -934,7 +934,7 @@ public class CellDesignerXmlParserTest extends CellDesignerTestFunctions {
CellDesignerXmlParser parser = new CellDesignerXmlParser();
Model model = parser.createModel(new ConverterParams().filename("testFiles/orthogonal_reaction_to_phenotype.xml"));
Reaction r = model.getReactionByReactionId("re2");
assertEquals(r.getReactants().get(0).getLine().getBeginPoint().getY(), r.getProducts().get(0).getLine().getBeginPoint().getY(), Configuration.EPSILON);
assertEquals(r.getReactants().get(0).getLine().getStartPoint().getY(), r.getProducts().get(0).getLine().getStartPoint().getY(), Configuration.EPSILON);
}
@Test
......@@ -942,7 +942,7 @@ public class CellDesignerXmlParserTest extends CellDesignerTestFunctions {
CellDesignerXmlParser parser = new CellDesignerXmlParser();
Model model = parser.createModel(new ConverterParams().filename("testFiles/orthogonal_reaction_to_drug.xml"));
Reaction r = model.getReactionByReactionId("re3");
assertEquals(r.getReactants().get(0).getLine().getBeginPoint().getY(), r.getProducts().get(0).getLine().getBeginPoint().getY(), Configuration.EPSILON);
assertEquals(r.getReactants().get(0).getLine().getStartPoint().getY(), r.getProducts().get(0).getLine().getStartPoint().getY(), Configuration.EPSILON);
}
......
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