test_SlotW16_meth (method)

class Test_SlotW16_meth[source]

Bases: object

pytest for SlotW16 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_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_comp_point_coordinate_error(test_dict)[source]

Check that the error is well raised

test_get_surface_active()[source]

Check that the get_surface_active works when stator = false