Exemplo n.º 1
0
 def test_creation_event(self):
   ds=NXSData(TEST_EVENT)
   ref=Reflectivity(ds[0])
   ref2=Reflectivity(ds[0], normalization=ref)
   header=HeaderCreator([ref2, self.ref1, self.ref2])
   self.assertTrue(type(header.get_data_header(['a', 'b', 'c'], ['', '', ''])) is unicode)
   ignore=unicode(header)
Exemplo n.º 2
0
 def test_creation(self):
   header=HeaderCreator([self.ref1, self.ref2])
   self.assertTrue(type(header.get_data_header(['a', 'b', 'c'], ['', '', ''])) is unicode)
   ignore=unicode(header)
Exemplo n.º 3
0
 def test_creation(self):
     header = HeaderCreator([self.ref1, self.ref2])
     self.assertTrue(type(header.get_data_header(["a", "b", "c"], ["", "", ""])) is unicode)
     ignore = unicode(header)