Skip to content

Commit

Permalink
add test!
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSlendebroek committed Sep 19, 2024
1 parent a0215db commit 00ca90e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using BalanceOfPlantSurogate

@testset "BalanceOfPlantSurogate" begin
for cycle in [:rankine, :brayton]
BOPSur = BalanceOfPlantSurogate.BOPSurogate(cycle)
@assert !isnan(BalanceOfPlantSurogate.predict_thermal_efficiency(BOPSur,1e7,0.9,0.1))
end
end

0 comments on commit 00ca90e

Please sign in to comment.