TestSWindPat
Bases: object
object
Test that the widget SWindPat 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_init_WRSM
Check that the GUI is correctly initialize with a WRSM machine
test_set_wind_type
Check that the Widget allow to update type_winding
test_set_qs
Check that the Widget allow to update qs
test_set_is_reverse
Check that the Widget allow to update is_reverse_wind
test_set_coil_pitch
Check that the Widget allow to update coil_pitch
test_set_Nslot
Check that the Widget allow to update Nslot
test_set_output
Check that the set_output works correctly
test_check
Check that the check works correctly