test_HoleM53_meth (method)

class Test_HoleM53_meth[source]

Bases: object

pytest for holeB53 methods

test_comp_surface(test_dict)[source]

Check that the computation of the surface is correct

test_comp_surface_mag(test_dict)[source]

Check that the computation of the magnet surface is correct

test_comp_radius(test_dict)[source]

Check that the computation of the radius is correct

test_comp_W5(test_dict)[source]

Check that the computation of W5 iscorrect

test_build_geometry(test_dict)[source]

Check that the build geometry method works

test_build_geometry_Z11_Z1_not_foundable(test_dict)[source]

Check that the build geometry error works

test_build_geometry_Z11_Z1(test_dict)[source]

Check nothing it’s just for the coverage

test_comp_surface_magnet_id()[source]

check that id is 0