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