Ejemplo n.º 1
0
    def test_that_OptionsColumnModel_get_permissable_properties_returns_correct_properties(
            self):
        permissable_properties = OptionsColumnModel._get_permissible_properties(
        )

        self.assertEqual(permissable_properties, {
            "WavelengthMin": float,
            "WavelengthMax": float,
            "EventSlices": str
        })
Ejemplo n.º 2
0
    def test_that_OptionsColumnModel_get_permissable_properties_returns_correct_properties(
            self):
        permissable_properties = OptionsColumnModel._get_permissible_properties(
        )

        self.assertEqual(
            permissable_properties, {
                "WavelengthMin": float,
                "WavelengthMax": float,
                "EventSlices": str,
                "MergeScale": float,
                "MergeShift": float,
                "PhiMin": float,
                "PhiMax": float,
                "UseMirror": options_column_bool
            })
Ejemplo n.º 3
0
    def test_that_OptionsColumnModel_get_permissable_properties_returns_correct_properties(self):
        permissable_properties = OptionsColumnModel._get_permissible_properties()

        self.assertEqual(permissable_properties, {"WavelengthMin":float, "WavelengthMax": float, "EventSlices": str,
                                                  "MergeScale": float, "MergeShift": float})