Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Dec 3, 2023
1 parent 4113eb9 commit badd6a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public void setUpBeforeClass() throws Exception {
@Test
public void testFlow() {
LevelTransmitter lt = new LevelTransmitter("levelTransmitter", sep);
Assertions.assertEquals(0.05263157894736842, lt.getMeasuredValue(), 1e-12);
Assertions.assertEquals(0.5, lt.getMeasuredValue(), 1e-12);
((StreamInterface) processOps.getUnit("inlet stream")).setFlowRate(0.01, "MSm3/day");
processOps.run();
Assertions.assertEquals(0.052631578947368494, lt.getMeasuredValue(), 1e-12);
Assertions.assertEquals(0.5, lt.getMeasuredValue(), 1e-12);
Assertions.assertEquals(lt.getMeasuredValue() * 100, lt.getMeasuredPercentValue(), 1e-12);
}

Expand Down

0 comments on commit badd6a0

Please sign in to comment.