# test_SlotW23_meth (method)¶

class Test_SlotW23_meth[source]

Bases: object

pytest for SlotW23 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()[source]

Check that comp_point_coordinate can compute W1 and W2 if cstt_tooth is true correct

test_check_error()[source]

Check that the check method is correctly raising an error

test_get_surface_wind()[source]

Check that the get_surface_wind works when stator = false

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

Check that the computations of the Ws are right

test_build_geometry_wind()[source]

Check if the build geometry of the winding works correctly