Skip to content
Snippets Groups Projects
Commit 26a3b811 authored by many's avatar many
Browse files

hardcode naca-code into the test-function as a fix for issue #40

parent 426d219d
No related branches found
No related tags found
No related merge requests found
Pipeline #8737 passed
...@@ -4,8 +4,7 @@ def test_extractSidePolys(): ...@@ -4,8 +4,7 @@ def test_extractSidePolys():
import numpy as np import numpy as np
import pyvista as pv import pyvista as pv
d1, d2, d3, d4 = np.random.randint(0, 9), np.random.randint(0, 9), np.random.randint(0, 9), np.random.randint(0, 9) digit_string = "6509"
digit_string = str(d1) + str(d2) + str(d3) + str(d4)
res = 240 res = 240
X, Y = naca(digit_string, res, half_cosine_spacing=True) X, Y = naca(digit_string, res, half_cosine_spacing=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment