Skip to content

Commit 7d42365

Browse files
Merge pull request #213 from CeuAzul/fix-test-for-vs
Bugfix: fix test for VS
2 parents 5f073e5 + 5793db1 commit 7d42365

File tree

1 file changed

+3
-3
lines changed
  • ADR/Components/Aerodynamic_components/tests

1 file changed

+3
-3
lines changed

ADR/Components/Aerodynamic_components/tests/test_VS.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ADR.Components.Aerodynamic_components.HS import HS
1+
from ADR.Components.Aerodynamic_components.VS import VS
22
import numpy.testing as npt
33
import pytest
44

@@ -22,11 +22,11 @@ def aerodynamic_surface():
2222
"x": 1,
2323
"z": 1,
2424
}
25-
aerodynamic_surface = HS(aerodynamic_surface_parameters)
25+
aerodynamic_surface = VS(aerodynamic_surface_parameters)
2626
return aerodynamic_surface
2727

2828

2929
def test_calc_area(aerodynamic_surface):
3030
aerodynamic_surface.calc_area()
3131
new_area = aerodynamic_surface.area
32-
npt.assert_almost_equal(new_area, 2.375, decimal=3)
32+
npt.assert_almost_equal(new_area, 1.1875, decimal=3)

0 commit comments

Comments
 (0)