Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfeismann committed Sep 17, 2024
1 parent e2b7cd1 commit 6b30a5d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/test/scala/edu/ie3/simona/agent/grid/ThermalGridIT.scala
Original file line number Diff line number Diff line change
Expand Up @@ -844,10 +844,8 @@ class ThermalGridIT
case ParticipantResultEvent(hpResult) =>
hpResult.getInputModel shouldBe typicalHpInputModel.getUuid
hpResult.getTime shouldBe 42171.toDateTime
hpResult.getP should equalWithTolerance(0.0038.asMegaWatt)
hpResult.getQ should equalWithTolerance(
0.0012489995996796802.asMegaVar
)
hpResult.getP should equalWithTolerance(pRunningHp)
hpResult.getQ should equalWithTolerance(qRunningHp)
}

Range(0, 3)
Expand Down Expand Up @@ -915,7 +913,7 @@ class ThermalGridIT
case ParticipantResultEvent(hpResult) =>
hpResult.getInputModel shouldBe typicalHpInputModel.getUuid
hpResult.getTime shouldBe 42619.toDateTime
hpResult.getP should equalWithTolerance(0.0038.asMegaWatt)
hpResult.getP should equalWithTolerance(pRunningHp)
hpResult.getQ should equalWithTolerance(0.00124899959968.asMegaVar)
}

Expand Down Expand Up @@ -999,10 +997,8 @@ class ThermalGridIT
case ParticipantResultEvent(hpResult) =>
hpResult.getInputModel shouldBe typicalHpInputModel.getUuid
hpResult.getTime shouldBe 45000.toDateTime
hpResult.getP should equalWithTolerance(0.0038.asMegaWatt)
hpResult.getQ should equalWithTolerance(
0.0012489995996796802.asMegaVar
)
hpResult.getP should equalWithTolerance(pRunningHp)
hpResult.getQ should equalWithTolerance(qRunningHp)
}

// Results of 34132 for house and storage
Expand Down

0 comments on commit 6b30a5d

Please sign in to comment.