(self)
Check that each generator has the right number of outputs.
Check that each generator has the right number of outputs.
Check that each generator has the right number of outputs .
def testCounts(self):
        """Check that each generator has the right number of outputs."""
        for n in range(len(self.counts)):
            self.assertEqual(self.counts[n],len(list(mckay(n))))
            self.assertEqual(self.counts[n],len(list(lex_partitions(n))))
            self.assertEqual(self.counts[n],len(list(revlex_partitions(n))))
def testCounts ( self ) : for n in range ( len ( self . counts ) ) : self . assertEqual ( self . counts [ n ] , len ( list ( mckay ( n ) ) ) ) self . assertEqual ( self . counts [ n ] , len ( list ( lex_partitions ( n ) ) ) ) self . assertEqual ( self . counts [ n ] , len ( list ( revlex_partitions ( n ) ) ) )