Bases: unittest.case.TestCase
Test that the widget SMagnet behave like it should (for SPMSM)
-
setUp
()[source]
Run at the begining of every test to setup the gui
-
classmethod
setUpClass
()[source]
Start the app for the test
-
classmethod
tearDownClass
()[source]
Exit the app after the test
-
test_init
()[source]
Check that the GUI initialize correctly
-
test_set_material
()[source]
Check that you can change the material
-
test_Magnet_Type_10_surface
()[source]
Check that the Widget is able to set surface Magnet type 10
-
test_Magnet_Type_11_surface
()[source]
Check that the Widget is able to set surface Magnet type 11
-
test_Magnet_Type_12_surface
()[source]
Check that the Widget is able to set surface Magnet type 12
-
test_Magnet_Type_13_surface
()[source]
Check that the Widget is able to set surface Magnet type 13
-
test_Magnet_Type_14_surface
()[source]
Check that the Widget is able to set surface Magnet type 14