test_SlotW10_meth (method)¶

class Test_SlotW10_meth[source]

Bases: object

pytest for SlotW10 methods

test_schematics(test_dict)[source]

Check that the schematics is correct

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

Check that the active geometry is correctly split

test_comp_angle_opening(test_dict)[source]

Check that the computation of the average opening angle is correct

test_comp_width_opening(test_dict)[source]

Check that the computation of the average opening width is correct

test_comp_angle_active_eq(test_dict)[source]

Check that the computation of the average angle is correct

test_get_surface_active()[source]

Check that the get_surface_active works when stator = false