# test_Magnet_Type_11_meth (method)¶

class test_Magnet_Type_11_meth(methodName='runTest')[source]

Bases: unittest.case.TestCase

unittest for MagnetType11 methods

test_build_geometry_out()[source]

check that curve_list is correct (outwards magnet)

test_comp_angle_op_1(test_dict)

Check that the computation of the opening angle is correct

test_comp_angle_op_2(test_dict)

Check that the computation of the opening angle is correct

test_comp_angle_op_3(test_dict)

Check that the computation of the opening angle is correct

test_comp_height_1(test_dict)

Check that the computation of the height is correct

test_comp_height_2(test_dict)

Check that the computation of the height is correct

test_comp_height_3(test_dict)

Check that the computation of the height is correct

test_comp_surface_1(test_dict)

Check that the computation of the surface is correct

test_comp_surface_2(test_dict)

Check that the computation of the surface is correct

test_comp_surface_3(test_dict)

Check that the computation of the surface is correct

test_build_geometry_in()[source]

check that curve_list is correct (inwards magnet)