-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.py
41 lines (29 loc) · 1.07 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import unittest
from tests.airplane_polars_test import airplane_polars
from tests.avl_run_test import avl_run
from tests.gnvp3_polar_test import gnvp3_run
from tests.gnvp7_polar_test import gnvp7_run
from tests.lspt_polar_test import lspt_run
from tests.solver_geom_test import gnvp3_geometry
from tests.solver_geom_test import gnvp7_geometry
from tests.wing_geom_test import geom
class BaseAirplaneTests(unittest.TestCase):
def test1_geom(self) -> None:
geom()
def test2_gnvp3_run(self) -> None:
gnvp3_run(run_parallel=True)
def test3_geometry_gnvp3(self) -> None:
gnvp3_geometry(plot=True)
def test5_gnvp7_run(self) -> None:
gnvp7_run(run_parallel=True)
def test6_geometry_gnvp7(self) -> None:
gnvp7_geometry(plot=True)
def test7_lspt_run(self) -> None:
lspt_run()
def test8_avl_run(self) -> None:
avl_run()
def test_9_3d_polars(self) -> None:
airplane_polars(plot=True)
if __name__ == "__main__":
unittest.TestLoader.sortTestMethodsUsing = None # type: ignore
unittest.main()