Skip to content

Commit

Permalink
fixed issues with IO tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ngomezve committed Mar 29, 2024
1 parent bb79168 commit 07a1be3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit_test_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
ac_quick_nopay_reread = quickload_aircraft(filepath_quick_nopay)
size_aircraft!(ac_quick_nopay_reread, Ldebug=false, printiter=false, saveOD=false)
@test ac_quick_nopay_reread.parg[igWMTO] ac_nopay.parg[igWMTO]

rm(filepath_quick_nopay)

#C: outputs to .csv
using CSV
Expand Down Expand Up @@ -85,8 +85,8 @@
@test size(csv1,1) == 4 #4 rows w default indices
@test size(csv2,1) == 1 #1 row with addl indices

@test length(csv1[1]) == 71 # = indices in default_output_indices
@test length(csv2[1]) == 96 # = indices in output_indices_wGeom
@test length(csv1[1]) == 72 # = indices in default_output_indices
@test length(csv2[1]) == 97 # = indices in output_indices_wGeom

#test the nested vector Structures
#a: row 1 in both csvs matches the design cruise point/mission
Expand Down

0 comments on commit 07a1be3

Please sign in to comment.