(self)
Test that words that are not Lyndon words aren't claimed to be.
Test that words that are not Lyndon words aren't claimed to be.
Test that words that are not Lyndon words aren t claimed to be .
def testNotLyndon(self):
        """Test that words that are not Lyndon words aren't claimed to be."""
        nl = sum(1 for i in range(8**4) if isLyndonWord("%04o" % i))
        self.assertEqual(nl,CountLyndonWords(8,4))
def testNotLyndon ( self ) : nl = sum ( 1 for i in range ( 8 ** 4 ) if isLyndonWord ( "%04o" % i ) ) self . assertEqual ( nl , CountLyndonWords ( 8 , 4 ) )