test_HoleM50_meth (method)

class Test_HoleM50_meth[source]

Bases: object

pytest for HoleM50 methods

test_comp_alpha()[source]

Check that the computation of the alpha is correct

test_comp_magnet_surface()[source]

Check that the computation of the magnet surface

test_comp_surface()[source]

Check that the computation of the slot surface is correct

test_comp_W5()[source]

Check that the computation of W5 is correct

test_build_geometry_two_hole_no_mag()[source]

check that curve_list is correct (two holes no magnet)

test_build_geometry_one_hole_no_mag()[source]

check that curve_list is correct (one hole no mag)

test_build_geometry_one_hole_with_magnet()[source]

check that curve_list is correct (one hole)

test_build_geometry_two_hole_with_magnet()[source]

check that curve_list is correct (one hole)

test_build_geometry_two_hole_with_magnet_is_simplified()[source]

check that curve_list is correct (one hole)

test_comp_radius_mid_yoke()[source]
test_comp_surface_magnet_id()[source]

check that id is 0

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