test_Magnet_Type_10_meth (method)

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

Bases: unittest.case.TestCase

unittest for MagnetType10 methods

test_build_geometry_in()[source]

check that curve_list is correct (inwards magnet)

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_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_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