File tree Expand file tree Collapse file tree 2 files changed +393
-7
lines changed
Expand file tree Collapse file tree 2 files changed +393
-7
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,16 @@ using VortexStepMethod
77using Test
88
99@testset " Test settings.jl" begin
10- vss = vs (" ram_air_kite/vsm_settings_dual.yaml" )
11- @test vss isa VSMSettings
12- @test vss. solver_settings isa SolverSettings
13- @test vss. wings isa Vector{WingSettings}
14- @test length (vss. wings) == 2
15- io = IOBuffer (repr (vss))
16- @test countlines (io) == 40 # Updated to match new output format
10+ # Change to project root directory for the test
11+ project_root = dirname (@__DIR__ )
12+ cd (project_root) do
13+ vss = vs (" ram_air_kite/vsm_settings_dual.yaml" )
14+ @test vss isa VSMSettings
15+ @test vss. solver_settings isa SolverSettings
16+ @test vss. wings isa Vector{WingSettings}
17+ @test length (vss. wings) == 2
18+ io = IOBuffer (repr (vss))
19+ @test countlines (io) == 40 # Updated to match new output format
20+ end
1721end
1822nothing
You can’t perform that action at this time.
0 commit comments