Esempio n. 1
0
 def testSpectrumsMatch(self):
     spectrum = self.getSpectrum()
     self.assertEquals(cyclicSpectrum('QMTNAQAN'), spectrum)
Esempio n. 2
0
 def testSpectrumsMatch(self):
     spectrum = self.getSpectrum()
     self.assertEquals(cyclicSpectrum("QMTNAQAN"), spectrum)
Esempio n. 3
0
 def testSpectrum(self):
     print ' '.join([str(m) for m in cyclicSpectrum('LLSLWAVFNNGD')])
Esempio n. 4
0
 def testSpectrum(self):
     print " ".join([str(m) for m in cyclicSpectrum("LLSLWAVFNNGD")])