test_HoleM50_meth module

@date Created on Fri Jan 08 16:11:22 2016 @author pierre_b

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)