test_SlotW60_meth (method)

class Test_SlotW60_meth[source]

Bases: object

pytest for SlotW60 methods

test_comp_surface(test_dict)[source]

Check that the computation of the surface is correct

Parameters

test_dict

test_comp_surface_active(test_dict)[source]

Check that the computation of the winding surface is correct

Parameters

test_dict

test_comp_height(test_dict)[source]

Check that the computation of the height is correct

Parameters

test_dict

test_comp_angle_opening(test_dict)[source]

Check that the computation of the average opening angle iscorrect

Parameters

test_dict

test_comp_angle_active_eq(test_dict)[source]

Check that the computation of the average angle is correct

Parameters

test_dict

test_build_geometry_active_is_stator_true(test_dict)[source]

Check that the computation of the average angle is correct

test_build_geometry_error(test_dict)[source]

Check that the ERROR is raised

test_check()[source]

Check that the check methods is correctly working