# test_SlotM16_meth (method)¶

class Test_Magnet_Type_16_meth[source]

Bases: object

unittest for MagnetType16 methods

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 active surface is correct

test_comp_height(test_dict)[source]

Check that the computation of the height is correct

test_comp_height_active(test_dict)[source]

Check that the computation of the active height is correct

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

Check that the computation of the mechanical radius is correct

test_comp_point_coordinate(test_dict)[source]

Check that the point coordinates are correct