Skip to content

Commit

Permalink
Corrections after rebasing master
Browse files Browse the repository at this point in the history
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
  • Loading branch information
miovd committed Mar 18, 2020
1 parent 62b7baa commit b120df2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ public void testSetterGetter() {

double b = shuntCExpected.getModel(ShuntCompensatorLinearModel.class).getbPerSection();
assertEquals(b, shuntCActual.getModel(ShuntCompensatorLinearModel.class).getbPerSection(), 0.0d);
assertTrue(shuntCActual.getModel(ShuntCompensatorLinearModel.class).setbPerSection(++b) instanceof ShuntCompensatorAdapter);
shuntCActual.getModel(ShuntCompensatorLinearModel.class).setbPerSection(++b);
assertEquals(shuntCExpected.getModel(ShuntCompensatorLinearModel.class).getbPerSection(), shuntCActual.getModel(ShuntCompensatorLinearModel.class).getbPerSection(), 0.0d);

double currentB = shuntCExpected.getCurrentB();
assertEquals(currentB, shuntCActual.getCurrentB(), 0.0d);
assertTrue(shuntCActual.getModel(ShuntCompensatorLinearModel.class).setbPerSection(++currentB) instanceof ShuntCompensatorAdapter);
shuntCActual.getModel(ShuntCompensatorLinearModel.class).setbPerSection(++currentB);
assertEquals(shuntCExpected.getCurrentB(), shuntCActual.getCurrentB(), 0.0d);

Terminal terminal = mergingView.getLccConverterStation("C1").getTerminal();
Expand Down

0 comments on commit b120df2

Please sign in to comment.