Skip to content

Commit a3d1a52

Browse files
committed
Print billowing diff
1 parent ad9d635 commit a3d1a52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/wing_geometry/test_billowing.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ end
117117
for pair in 1:(n_ribs - 1)
118118
res = te_arc_length_between_ribs(
119119
wing, pair, pair + 1)
120-
# measured_pct = (arc - straight) / arc * 100
121120
measured = (res.arc - res.straight) / res.arc * 100
122-
# With 8 panels per pair the discrete approximation
123-
# won't be exact, but should be close.
121+
diff = measured - pct
122+
@info "Pair $pair: measured=$(round(measured; digits=3))%" *
123+
" target=$(pct)% diff=$(round(diff; digits=3))%"
124124
@test isapprox(measured, pct; rtol=0.05)
125125
end
126126
end

0 commit comments

Comments
 (0)