TestPHoleM50
Bases: object
object
Test that the widget PHoleM50 behave like it should
setup
Run at the begining of every test to setup the gui
test_init
Check that the Widget spinbox initialise to the lamination value
test_set_W0
Check that the Widget allow to update W0
test_set_W1
Check that the Widget allow to update W1
test_set_W2
Check that the Widget allow to update W2
test_set_W3
Check that the Widget allow to update W3
test_set_W4
Check that the Widget allow to update W4
test_set_H0
Check that the Widget allow to update H0
test_set_H1
Check that the Widget allow to update H1
test_set_H2
Check that the Widget allow to update H2
test_set_H3
Check that the Widget allow to update H3
test_set_H4
Check that the Widget allow to update H4
test_set_material_0
Check that you can change the material of magnet_0
test_set_material_1
Check that you can change the material of magnet_1
test_set_material_2
Check that you can change the material of magnet_2
test_comp_output
Check that you can compute the output only if the hole is correctly set