def testSpectrumsMatch(self): spectrum = self.getSpectrum() self.assertEquals(cyclicSpectrum('QMTNAQAN'), spectrum)
def testSpectrumsMatch(self): spectrum = self.getSpectrum() self.assertEquals(cyclicSpectrum("QMTNAQAN"), spectrum)
def testSpectrum(self): print ' '.join([str(m) for m in cyclicSpectrum('LLSLWAVFNNGD')])
def testSpectrum(self): print " ".join([str(m) for m in cyclicSpectrum("LLSLWAVFNNGD")])