Skip to content

Commit

Permalink
Test LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
askprash committed Apr 4, 2024
1 parent 9055a84 commit 45a057c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/regression_test_wsize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@

@test ac.parm[imPFEI] 0.883089428853606

@testset "LTO" begin
EIs, mfs = TASOPT.LTO("Default A/C + Engine", ac)
test_EIs = [35.727087484447225, 26.674239512749597, 10.228895832877859, 6.473190938712144]
test_mfs = [1.4031641016757275, 1.2552506710045581, 0.7022981161085624, 0.4126470600128394]
for i in eachindex(test_EIs)
@test test_EIs[i] EIs[i]
@test test_mfs[i] mfs[i]
end
end

end

@testset "Wide sizing" verbose=true begin
Expand Down

0 comments on commit 45a057c

Please sign in to comment.