test_HoleM50_meth (method)

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

Bases: unittest.case.TestCase

unittest 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)