test_HoleM51_meth (method)

class Test_HoleM51_meth[source]

Bases: object

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

Check that the computation of width 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_build_geometry_Z6(test_dict)[source]

Check if Z6 is different between Zint[0].real > 0 or Zint[1].real > 0

test_comp_surface_magnet_id()[source]

Check that the computation of the magnet surface is correct

pytestmark = [Mark(name='METHODS', args=(), kwargs={})]