test_SlotW12_meth (method)¶

class Test_SlotW12_meth[source]

Bases: object

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

Check if the build_geometry of the slot is correct

test_check_error()[source]

Check that the check method is correctly raising an error