@@ -338,7 +338,7 @@ def test_blade_rotate_exceptions_no_transformation(self):
338338
339339 def test_rotate_deg_section_0 (self ):
340340 blade = create_sample_blade_NACA_10 ()
341- blade .apply_transformations ()
341+ blade .build ()
342342 blade .rotate (deg_angle = 90 )
343343 rotated_coordinates = np .array ([
344344 0.2969784 , 0.2653103 , 0.2146533 , 0.1597801 , 0.1024542 ,
@@ -361,9 +361,9 @@ def test_rotate_deg_section_0(self):
361361 np .testing .assert_almost_equal (blade .blade_coordinates_up [0 ][2 ],
362362 rotated_coordinates )
363363
364- def test_rotate_rad_section_1_xdown (self ):
364+ def test_rotate_rad (self ):
365365 blade = create_sample_blade_NACA_10 ()
366- blade .apply_transformations ()
366+ blade .build ()
367367 blade .rotate (rad_angle = np .pi / 2.0 )
368368 rotated_coordinates = np .array ([
369369 0.23913475 , 0.17512439 , 0.12479053 , 0.07749333 , 0.03196268 ,
@@ -372,21 +372,13 @@ def test_rotate_rad_section_1_xdown(self):
372372 np .testing .assert_almost_equal (blade .blade_coordinates_down [1 ][0 ],
373373 rotated_coordinates )
374374
375- def test_rotate_rad_section_1_ydown (self ):
376- blade = create_sample_blade_NACA_10 ()
377- blade .apply_transformations ()
378- blade .rotate (rad_angle = np .pi / 2.0 )
379375 rotated_coordinates = np .array ([
380376 - 0.3488408 , - 0.3576312 , - 0.3719492 , - 0.3844258 , - 0.3936846 ,
381377 - 0.3989522 , - 0.3997457 , - 0.3957593 , - 0.3867917 , - 0.3726862
382378 ])
383379 np .testing .assert_almost_equal (blade .blade_coordinates_down [1 ][1 ],
384380 rotated_coordinates )
385381
386- def test_rotate_rad_section_1_zdown (self ):
387- blade = create_sample_blade_NACA_10 ()
388- blade .apply_transformations ()
389- blade .rotate (rad_angle = np .pi / 2.0 )
390382 rotated_coordinates = np .array ([
391383 0.19572966 , 0.17916459 , 0.14715217 , 0.11052969 , 0.07079877 ,
392384 0.02893379 , - 0.01426232 , - 0.05809137 , - 0.10194212 , - 0.14527558
0 commit comments