Test_HoleM50_meth
Bases: object
object
pytest for HoleM50 methods
test_comp_alpha
Check that the computation of the alpha is correct
test_comp_magnet_surface
Check that the computation of the magnet surface
test_comp_surface
Check that the computation of the slot surface is correct
test_comp_W5
Check that the computation of W5 is correct
test_build_geometry_two_hole_no_mag
check that curve_list is correct (two holes no magnet)
test_build_geometry_one_hole_no_mag
check that curve_list is correct (one hole no mag)
test_build_geometry_one_hole_with_magnet
check that curve_list is correct (one hole)
test_build_geometry_two_hole_with_magnet
test_build_geometry_two_hole_with_magnet_is_simplified
test_comp_radius_mid_yoke
test_comp_surface_magnet_id
check that id is 0