test_SlotW16_meth (method)

class Test_SlotW16_meth[source]

Bases: object

pytest for SlotW16 methods

test_comp_surface(test_dict)[source]

Check that the computation of the surface is correct

test_comp_surface_wind(test_dict)[source]

Check that the computation of the winding surface is correct

test_comp_height(test_dict)[source]

Check that the computation of the height is correct

test_comp_angle_opening(test_dict)[source]

Check that the computation of the average opening angle iscorrect

test_comp_angle_wind_eq(test_dict)[source]

Check that the computation of the average angle is correct

test_comp_point_coordinate_error(test_dict)[source]

Check that the error is well raised

pytestmark = [Mark(name='METHODS', args=(), kwargs={})]
test_get_surface_wind()[source]

Check that the get_surface_wind works when stator = false