def test_new_input_xpcsmode(self):
     input_data = inputparser.inputparser(self.newInputXPCSFile)
     self.assertTrue(input_data.Parameters['mode'] == 'XPCS')
 def test_new_input_recognition(self):
     input_data = inputparser.inputparser(self.newInputFile)
     self.assertFalse(input_data.Parameters['oldInputFormat'])
 def test_old_input_recognition(self):
     # is the input data format recognized?
     input_data = inputparser.inputparser(self.oldInputFile)
     self.assertTrue(input_data.Parameters['oldInputFormat'])
 def test_new_input_read(self):
     # try to read the pyxsvs input file example to see
     # if it doesn't produce any errors:
     input_data = inputparser.inputparser(self.newInputFile)
 def test_old_input_read(self):
     # try to read the classic input file example to see
     # if it doesn't produce any errors:
     input_data = inputparser.inputparser(self.oldInputFile)