Exemplo n.º 1
0
 def test_analysis_config_global_std_scaling(self):
     with TestAreaContext("analysis_config_init_test") as work_area:
         work_area.copy_directory(self.case_directory)
         ac = AnalysisConfig(self.case_file)
         self.assertFloatEqual(ac.getGlobalStdScaling(), 1.0)
         ac.setGlobalStdScaling(0.77)
         self.assertFloatEqual(ac.getGlobalStdScaling(), 0.77)
Exemplo n.º 2
0
 def test_analysis_config_global_std_scaling(self):
     ac = AnalysisConfig()
     self.assertFloatEqual(ac.getGlobalStdScaling(), 1.0)
     ac.setGlobalStdScaling(0.77)
     self.assertFloatEqual(ac.getGlobalStdScaling(), 0.77)