test_Magnet_Type_11_meth (method)

class Test_Magnet_Type_11_meth[source]

Bases: object

unittest for MagnetType11 methods

test_comp_surface(test_dict)[source]

Check that the computation of the surface is correct

test_comp_height(test_dict)[source]

Check that the computation of the height is correct

test_comp_angle_op(test_dict)[source]

Check that the computation of the opening angle is correct

test_build_geometry_out()[source]

check that curve_list is correct (outwards magnet)

test_build_geometry_in()[source]

check that curve_list is correct (inwards magnet)

pytestmark = [Mark(name='METHODS', args=(), kwargs={})]
test_comp_point_coordinate_error()[source]

check that comp_point_coordinate is correct (throwing error)

test_build_geometry()[source]

check that curve_list is correct