TestSMachineType
Bases: object
object
Test that the widget SMachineType 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_name
Check that the Widget allow to update name
test_set_is_inner_rotor
Check that the Widget allow to update is_inner_rotor
test_set_p_scim
Check that the Widget allow to update p
test_set_p_dfim
test_set_p_sipmsm
test_set_p_ipmsm
test_set_p_syrm
test_set_p
Check that the Widget allow to update p when Winding is None
test_set_type_ipmsm
Check that you can define an IPMSM machine
test_check