Пример #1
0
 def test_that_radius_mask_can_be_set(self):
     state_gui_model = StateGuiModel({"test": [1]})
     state_gui_model.radius_limit_min = 12.
     state_gui_model.radius_limit_max = 13.
     self.assertTrue(state_gui_model.radius_limit_min == 12.)
     self.assertTrue(state_gui_model.radius_limit_max == 13.)
Пример #2
0
 def test_that_radius_mask_can_be_set(self):
     state_gui_model = StateGuiModel(AllStates())
     state_gui_model.radius_limit_min = 12.
     state_gui_model.radius_limit_max = 13.
     self.assertEqual(state_gui_model.radius_limit_min, 12.)
     self.assertEqual(state_gui_model.radius_limit_max, 13.)
Пример #3
0
 def test_that_radius_mask_can_be_set(self):
     state_gui_model = StateGuiModel({"test": [1]})
     state_gui_model.radius_limit_min = 12.
     state_gui_model.radius_limit_max = 13.
     self.assertTrue(state_gui_model.radius_limit_min == 12.)
     self.assertTrue(state_gui_model.radius_limit_max == 13.)