test_SlotW21_meth (method)

class Test_SlotW21_meth[source]

Bases: object

pytest for SlotW21 methods

test_schematics(test_dict)[source]

Check that the schematics is correct

test_build_geometry_active(test_dict)[source]

Check that the active geometry is correctly split

test_comp_surface(test_dict)[source]

Check that the computation of the surface is correct

test_comp_surface_active(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_active_eq(test_dict)[source]

Check that the computation of the average angle is correct

test_check_error()[source]

Check that the check method is correctly raising an error

test_get_surface_active()[source]

Check that the get_surface_active works when stator = false