Skip to content

Commit

Permalink
Merge pull request #213 from CeuAzul/fix-test-for-vs
Browse files Browse the repository at this point in the history
Bugfix: fix test for VS
  • Loading branch information
rafaellehmkuhl committed Aug 10, 2020
2 parents 5f073e5 + 5793db1 commit 7d42365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ADR/Components/Aerodynamic_components/tests/test_VS.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ADR.Components.Aerodynamic_components.HS import HS
from ADR.Components.Aerodynamic_components.VS import VS
import numpy.testing as npt
import pytest

Expand All @@ -22,11 +22,11 @@ def aerodynamic_surface():
"x": 1,
"z": 1,
}
aerodynamic_surface = HS(aerodynamic_surface_parameters)
aerodynamic_surface = VS(aerodynamic_surface_parameters)
return aerodynamic_surface


def test_calc_area(aerodynamic_surface):
aerodynamic_surface.calc_area()
new_area = aerodynamic_surface.area
npt.assert_almost_equal(new_area, 2.375, decimal=3)
npt.assert_almost_equal(new_area, 1.1875, decimal=3)

0 comments on commit 7d42365

Please sign in to comment.