test_HoleM52_meth (method)

class Test_Hole52_meth[source]

Bases: object

pytest for holeB52 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_alpha(test_dict)[source]

Check that the computation of the alpha is correct

test_comp_W1(test_dict)[source]

Check that the computation of W1 is correct

test_comp_radius(test_dict)[source]

Check that the computation of the radius is correct

test_build_geometry_with_magnet(test_dict)[source]

Check that the surf list is correct with magnet

test_build_geometry_no_magnet(test_dict)[source]

Check that the surf list is correct without magnet

test_build_geometry_simplified_parallel(test_dict)[source]

Check that the build geometry method works

test_check()[source]

Check that the check function can raise error