Exemple #1
0
 def test_interpreter(self):
     THERMAL = True
     MICROWAVE = False
     interpreter = thellier_interpreter.thellier_auto_interpreter(self.frame.Data, self.frame.Data_hierarchy, self.frame.WD, self.frame.acceptance_criteria, self.frame.preferences, self.frame.GUI_log, THERMAL, MICROWAVE)
     program_ran, num_specs = interpreter.run_interpreter()
     self.assertTrue(program_ran)
     if self.frame.WD == os.path.join(WD, 'data_files', 'testing', 'my_project'):
         self.assertEqual(5, num_specs)
Exemple #2
0
 def test_interpreter(self):
     THERMAL = True
     MICROWAVE = False
     interpreter = thellier_interpreter.thellier_auto_interpreter(self.frame.Data, self.frame.Data_hierarchy, self.frame.WD, self.frame.acceptance_criteria, self.frame.preferences, self.frame.GUI_log, THERMAL, MICROWAVE)
     program_ran, num_specs = interpreter.run_interpreter()
     self.assertTrue(program_ran)
     if self.frame.WD == os.path.join(WD, 'data_files', 'testing', 'my_project'):
         self.assertEqual(5, num_specs)
 def test_interpreter(self):
     THERMAL = True
     MICROWAVE = False
     interpreter = thellier_interpreter.thellier_auto_interpreter(self.frame.Data,
                                                                  self.frame.Data_hierarchy,
                                                                  self.frame.WD,
                                                                  self.frame.acceptance_criteria,
                                                                  self.frame.preferences,
                                                                  self.frame.GUI_log,
                                                                  THERMAL, MICROWAVE)
     program_ran, num_specs = interpreter.run_interpreter()
     self.assertTrue(program_ran)
     self.assertEqual(5, num_specs)