Ejemplo n.º 1
0
 def test_that_can_be_set_to_something_else(self):
     state_gui_model = StateGuiModel(AllStates())
     state_gui_model.reduction_mode = ReductionMode.MERGED
     self.assertEqual(state_gui_model.reduction_mode, ReductionMode.MERGED)
Ejemplo n.º 2
0
 def test_reduction_mode_not_set(self):
     state_gui_model = StateGuiModel(AllStates())
     state_gui_model.reduction_mode = ReductionMode.NOT_SET
     self.assertEqual(state_gui_model.reduction_mode, ReductionMode.NOT_SET)
Ejemplo n.º 3
0
 def test_that_is_set_to_lab_by_default(self):
     state_gui_model = StateGuiModel(AllStates())
     self.assertEqual(state_gui_model.reduction_mode, ReductionMode.LAB)
Ejemplo n.º 4
0
 def test_that_event_binning_can_be_set(self):
     state_gui_model = StateGuiModel(AllStates())
     state_gui_model.event_binning = "1,-1,10"
     self.assertEqual(state_gui_model.event_binning, "1,-1,10")
Ejemplo n.º 5
0
 def test_that_event_binning_default_settings_are_emtpy(self):
     state_gui_model = StateGuiModel(AllStates())
     self.assertEqual(state_gui_model.event_binning, "")
Ejemplo n.º 6
0
 def red_dim_wrapper():
     state_gui_model = StateGuiModel(AllStates())
     state_gui_model.reduction_dimensionality = "string"
Ejemplo n.º 7
0
 def test_that_is_1D_reduction_by_default(self):
     state_gui_model = StateGuiModel(AllStates())
     self.assertEqual(state_gui_model.reduction_dimensionality, ReductionDimensionality.ONE_DIM)