test_HoleM51_meth (method)

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

Bases: unittest.case.TestCase

unittest for holeB51 methods

test_build_geometry_no_magnet_1(test_dict)

Check that the surf list is correct without magnet

test_build_geometry_with_magnet_1(test_dict)

Check that the surf list is correct with magnet

test_comp_alpha_1(test_dict)

Check that the computation of the alpha is correct

test_comp_radius_1(test_dict)

Check that the computation of the radius is correct

test_comp_surface_1(test_dict)

Check that the computation of the surface is correct

test_comp_surface_mag_1(test_dict)

Check that the computation of the magnet surface is correct

test_comp_width_1(test_dict)

Check that the computation of width is correct